User Tools

Site Tools


bsd:notes:rsync_nas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bsd:notes:rsync_nas [2025/10/30 15:25] – [USB Speed] Sean Rhonebsd:notes:rsync_nas [2026/06/17 01:34] (current) – [Mount NTFS] Sean Rhone
Line 41: Line 41:
  
   kldload 'fusefs'   kldload 'fusefs'
 +
 +  mkdir -p '/mnt/NAS2' && ntfs-3g -o 'ro,uid=1001,gid=1001' '/dev/da1p2' '/mnt/NAS2'
  
   mkdir -p '/mnt/NAS2' && ntfs-3g -o 'rw,big_writes,uid=1001,gid=1001' '/dev/da1p2' '/mnt/NAS2'   mkdir -p '/mnt/NAS2' && ntfs-3g -o 'rw,big_writes,uid=1001,gid=1001' '/dev/da1p2' '/mnt/NAS2'
 +
 +  gio open '/mnt'
  
 ===== Main Sync to Backup ===== ===== Main Sync to Backup =====
Line 68: Line 72:
   usbconfig -d '/dev/ugen0.4' 'power_off'   usbconfig -d '/dev/ugen0.4' 'power_off'
  
-  usbconfig -d '/dev/ugen0.5' 'power_off'+  usbconfig -d '/dev/ugen0.5' 'power_off' && usbconfig
  
 ===== Reference ===== ===== Reference =====
Line 95: Line 99:
  
   geom disk list   geom disk list
 +
 +  gpart destroy -F 'da0'
  
   dd if='/dev/zero' of='/dev/da0' count='8096'   dd if='/dev/zero' of='/dev/da0' count='8096'
Line 112: Line 118:
  
   zpool import 'NAS'   zpool import 'NAS'
 +
 +  zfs unmount 'NAS'
  
   zpool export 'NAS'   zpool export 'NAS'
Line 194: Line 202:
  
 <code>rsync --recursive --update --ignore-existing --verbose --debug='ALL' '/mnt/NAS2/Videos/' '/NAS/Videos'</code> <code>rsync --recursive --update --ignore-existing --verbose --debug='ALL' '/mnt/NAS2/Videos/' '/NAS/Videos'</code>
 +
 +===== Etc =====
 +
 +  * :!: Covers games pictures and anything else caught in above excludes
 +
 +<code>rsync --recursive --update --ignore-existing --verbose --debug='ALL' '/mnt/NAS2/' '/NAS'</code>
  
 ====== 2TB USB Restore ====== ====== 2TB USB Restore ======
/usr/local/www/wiki/data/attic/bsd/notes/rsync_nas.1761852316.txt.gz · Last modified: by Sean Rhone