Almost got my rsync running over ssh setup. Only problem is the actual file structure. Everything I want backed up is on my USB drive /USB/USB_HDD_4/*.* and I want it on my remote server underneath the backup folder. When I run this command it creates a USB_HDD_4 (i.e. I see /mnt/Data/backup/USB_HDD_4/*.*) folder and then everything is under that folder. What command can I run so its directly under the backkup folder (/mnt/Data/backup/*.*)? rsync -e "ssh -p 2223" -avz --delete-after /USB/USB_HDD_4 user at 1.1.1.1:/mnt/Data/backup Thanks in advance for the help. -- View this message in context: http://old.nabble.com/Folder-Structure-Help-tp26918986p26918986.html Sent from the Samba - rsync mailing list archive at Nabble.com.
twooly wrote:> > Almost got my rsync running over ssh setup. Only problem is the actual > file structure. > > Everything I want backed up is on my USB drive /USB/USB_HDD_4/*.* and I > want it on my remote server underneath the backup folder. When I run this > command it creates a USB_HDD_4 (i.e. I see /mnt/Data/backup/USB_HDD_4/*.*) > folder and then everything is under that folder. What command can I run so > its directly under the backkup folder (/mnt/Data/backup/*.*)? > > rsync -e "ssh -p 2223" -avz --delete-after /USB/USB_HDD_4 > user at 1.1.1.1:/mnt/Data/backup > > Thanks in advance for the help. >Got it figured out. Need the trailing slash on the source. -- View this message in context: http://old.nabble.com/Folder-Structure-Help-tp26918986p26921168.html Sent from the Samba - rsync mailing list archive at Nabble.com.
Possibly Parallel Threads
- [Bug 2223] New: Ed25519 support in SSHFP DNS resource records
- strsplit
- Might want to allow different host keys for different ports on same host
- sshd crashes
- Any idea what causes "Oooh, got a frame with format of g729 on channel 'PJSIP/121-000001d2' when we're sending 'ulaw', switching to match"