Below is example of backing up users' home directory to remote host piped via ssh:
tar -cvzf - -C /home {username} | ssh {remotehost} 'cat >/path/to/bak/{username}.tgz'
Remote backups with tar over ssh
Submitted by sandip on Mon, 02/28/2011 - 15:26
Below is example of backing up users' home directory to remote host piped via ssh: tar -cvzf - -C /home {username} | ssh {remotehost} 'cat >/path/to/bak/{username}.tgz' »
|
See AlsoUser loginRecent blog posts
Who's onlineThere are currently 0 users and 10 guests online.
|