backup methods


backup linux

Backup methods

1. tar

	tar cf - . | (cd /some/destdir ; tar xf -)
	tar cf - . | pv | (cd /some/destdir ; tar xf -)
	tar cf - . | ssh host "(cd /some/destdir ; tar xf -)"

2. nc with tar copy. This requires netcat on both servers.

nc -l -p 2342 | tar -C /target/dir -xzf -
tar -cz /source/dir | nc Target_Box 2342

3. gcp copy

gcp -rv srcdir dstdir

4. vcp copy

vcp srcdir dstdir

5. luckybackup. Install from sbopkg

sudo luckybackup -c /root/.luckyBackup/profiles/default.profile