This is an old revision of the document!


Table of Contents

Home tmade.de

Home Wiki

Backup

rsync

rsync -a /home/tmade/ /backup/rsync/                                           #copies and sync /home/tmade to /backup/rsync
rsync -a --delete /home/tmade/ /backup/rsync/                                  #delete files which have been deleted in source also in mirror
rsync -a --exclude-from=/path/to/excludedfile /home/tmade/ /backup/rsync/      #doesn´t sync files listes in exclude file. files with "#" in front are ignored!

Over network:

rsync -ave ssh root@DA1:/home/tux /backup/home                                 #copies homedirectory of user tux to backup server
rsync -avz --delete /home/tmade/ root@remoteserver:/home/tmade/                #sync and delete files, if they are deleted from source

Other direction:

rsync -ave ssh /backup/home/tux root@DA1:/home/                                #backup of homedirectory is copied back to DA1 system

NOTE: rysnc MUST be installed on both systems!!

Partimage

partimage -z1 -o -d -b save /dev/hda12 /mnt/backup/redhat-6.2.partimg.gz
partimage restore /dev/hda13 /mnt/backup/suse-6.4.partimg
partimage restmbr /mnt/backup/debian-potato-2.2.partimg.bz2
partimage imginfo /mnt/backup/debian-potato-2.2.partimg.bz2

DD

Link: DD

linux/backup.1512778766.txt.gz · Last modified: 2017/12/09 01:19 by 127.0.0.1
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki