I'm trying to use the 2 commands "dump" and "pax" for a full system backup of an ubuntu VPS.
- Problem with "dump": restoration failing when restoring 'var' dir
- Problem with "Pax": backup command not working, hangs directly after pressing 'enter' (the file 'databackup1' get's created but size stays '0', no increase in size)
The command I try (see below) includes some directory exclusions.
I have read:
- the man pages
- tutorials on the net
It's shameful, because the syntaxt construction is given in the man-pages. But still I just can't the syntaxt right.
Any help on this is very welcome.
(it's a VPS i only gave commandline access)
The reason I want to avoid TAR (if possible):
http://www.matusiak.eu/numerodix/blo...system-backup/
=> see reaction user: Augur
DUMP
The path to the backup file: /restr/databackup1
backup:
Code:
dump -0uf databackup1
restoration:
Code:
restore -rf /restr/databackup1
PAX
Backup (not working, command below also includes directory exclusions):
Code:
pax -w -f /restr/databackup1 -s '//proc/' -s '//lost+found/' -s '//sys/' -s '//dev/' -s '//mnt/' -s '//media/'
Restore (no pax-backup available due to failing backup command):