backup command: 'dump' and 'pax' => correct syntax usage
I'm trying to use the 2 commands "dump" and "pax" for a full system backup of an ubuntu VPS.
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):
=> see reaction user: Augur
The path to the backup file: /restr/databackup1
Backup (not working, command below also includes directory exclusions):
You need at least a "." (current directory) or "/" (filesystem root) there.
But please read also the warning on the pax man page.
Are you really running a SELinux or similar ?
I think, you will be okay with a tar or cpio backup.
Thanks for those 2 important pointers!
(I didn't have selinux installed on my server).
But because PAX seems to be a bit confusing to me, I'll stick to TAR.
TAR seems to work only the "--recursive-unlink" switch seems to be giving troubles.
Thanks again cheesus!
Well, if you want to backup e.g. the "/dev", you'll probably have to use cpio or pax.
If you're just backupping data, tar is fine.
Please rate answer and mark thread as solved.
|All times are GMT -5. The time now is 02:17 AM.|