Created
March 25, 2016 11:57
-
-
Save oliworx/9c69b26bf84fbe93d50f to your computer and use it in GitHub Desktop.
very fast full backup of XFS partition with xfdump and lzo compression
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo xfsdump -L KW12 -M FullBackup -J - / |lzop > /media/oli/465GB/Backup/Oli/Vostro/Linux-xfsdump-2016-03-26.lzo | |
## Explanation: | |
# sudo xfsdump | |
# -> start the xfsdump programm with root privileges | |
# -L KW12 | |
# -> gives the Backup the label KW12 | |
# -M FullBackup | |
# -> gives the backup medium (the new backup file) the name FullBackup | |
# -J | |
# -> tells it not to record it in the local dump inventory | |
# - | |
# -> write to standard out | |
# / | |
# -> the xfs filesystem to backup | |
# |lzop | |
# -> pipe the dump to the lzop compression programm | |
# > /media/oli/465GB/Backup/Oli/Vostro/Linux-xfsdump-2016-03-26.lzo | |
# -> write the backup file to an external hard drive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks a lot.