This shows you the differences between two versions of the page.
backup [2014/09/04 22:05] |
backup [2022/04/16 12:22] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | * https://www.borgbackup.org/# LearN | ||
+ | * https://torsion.org/borgmatic/# TooL | ||
+ | * [[rsync]] | ||
+ | * http://duplicity.nongnu.org/features.html | ||
+ | * http://debaday.debian.net/2008/10/26/rdiff-backup-easy-incremental-backups-from-the-command-line/ | ||
+ | * [[part]] : http://damien.guibouret.free.fr/fr/index_frame.html | ||
+ | * [[read]] : http://users.softlab.ece.ntua.gr/~ttsiod/backup.html | ||
+ | * http://backuppc.sourceforge.net/info.html | ||
+ | |||
+ | |||
+ | ==== RSYNC ==== | ||
+ | |||
+ | * http://talk.maemo.org/showthread.php?t=79636&highlight=rsync | ||
+ | |||
+ | @more: HarmattaN RSynC | ||
+ | |||
+ | |||
+ | backup a debian server with rsync : | ||
+ | |||
+ | <code> | ||
+ | cat<<EOF > ~/exclude.txt | ||
+ | /boot/grub/menu.lst | ||
+ | |||
+ | /etc/hosts | ||
+ | /etc/hostname | ||
+ | /etc/fstab | ||
+ | /etc/mtab | ||
+ | /etc/dhcp3/dhclient.conf | ||
+ | |||
+ | /etc/ssh/ssh_host_dsa_key | ||
+ | /etc/ssh/ssh_host_dsa_key.pub | ||
+ | |||
+ | /etc/ssh/ssh_host_rsa_key | ||
+ | /etc/ssh/ssh_host_rsa_key.pub | ||
+ | |||
+ | /var/lib/mlocate/mlocate.db | ||
+ | EOF | ||
+ | |||
+ | S=/mnt/hda6/ | ||
+ | D=root@${BACKUP_HOST}:/mnt/sda6/ | ||
+ | |||
+ | sudo rsync -avx --progress --exclude-from ~/exclude.txt "$S/" "$D/" | ||
+ | |||
+ | cd / | ||
+ | sudo mv etc/udev/rules.d/70-persistent-net.rules etc/udev/rules.d/70-persistent-net.rules.orig | ||
+ | sudo ln -fs /dev/null /etc/udev/rules.d/70-persistent-net.rules | ||
+ | |||
+ | |||
+ | </code> | ||
+ | |||
+ | |||
+ | === rsync bug === | ||
+ | |||
+ | parent ? | ||
+ | |||
+ | https://bugzilla.samba.org/show_bug.cgi?id=4621 | ||
+ | |||
+ | it's obvious it will create in destination | ||
+ | |||
+ | why not --create-parents or just --parents like mkdir | ||
+ | |||
+ | |||
+ | nfs ? | ||
+ | |||
+ | rsync: failed to set times on "${FILE}": Stale NFS file handle (116) | ||
+ | |||
+ | * http://sysunconfig.net/unixtips/stale_nfs.txt | ||
+ | * http://forum.dsmg600.info/p21078-2008-10-02-06:06:56.html | ||
+ | * http://forum.ovh.com/showthread.php?p=366120 | ||
+ | |||
+ | @tag: [[raid]] , [[nfs]], [[rsync]] | ||
+ | |||
+ | |||
+ | ===== misc ===== | ||
+ | |||
+ | * http://www.mikerubel.org/computers/rsync_snapshots/ | ||
+ | |||
+ | |||
+ | ==== CLONE ==== | ||
+ | |||
+ | * http://clonezilla.org/clonezilla-live-doc.php | ||
+ | * http://downloads.sourceforge.net/project/clonezilla/clonezilla_live_alternative/20110922-natty/clonezilla-live-20110922-natty.iso | ||
+ | * http://opensource.nchc.org.tw/-core/pool/drbl/unstable/clonezilla/ | ||
+ | |||
+ | |||
+ | * http://drbl.sourceforge.net/ | ||
+ | http://www.sysresccd.org/Main_Page | ||
+ | http://clonezilla-sysresccd.hellug.gr/news.php | ||
+ | http://partedmagic.com/doku.php | ||
+ | |||
+ | |||
+ | ==== DD ==== | ||
+ | |||
+ | http://serverfault.com/questions/4906/using-dd-for-disk-cloning | ||
+ | |||
+ | @tag: [[dd]] | ||
+ | |||
+ | |||
+ | ==== netcat ==== | ||
+ | |||
+ | nc -l -p 1234 > /dev/sda | ||
+ | cat /dev/hda | nc backuphost 1234 | ||
+ | |||
+ | fdisk -l /dev/sda | ||
+ | Partition 1 does not end on cylinder boundary. | ||
+ | |||
+ | Fix it with gparted | ||
+ | |||
+ | How to make windows boot again ? | ||
+ | |||
+ | ==== encfs bug ==== | ||
+ | |||
+ | |||
+ | Timestamps ignored : | ||
+ | |||
+ | * https://bugzilla.samba.org/show_bug.cgi?id=3752 | ||
+ | * https://bugs.launchpad.net/encfs/+bug/81080 | ||
+ | * [[encfs]] http://code.google.com/p/encfs/issues/detail?id=21 | ||
+ | |||
+ | |||
+ | <code> | ||
+ | on hardy : | ||
+ | |||
+ | FYI: | ||
+ | |||
+ | LANG=C encfsctl /home/$USER/local/encfs/ | ||
+ | |||
+ | Version 5 configuration; created by EncFS 1.3.2 (revision 20040813) | ||
+ | Filesystem cipher: "ssl/aes", version 2:1:1 | ||
+ | Filename encoding: "nameio/block", version 3:0:1 | ||
+ | Key Size: 256 bits | ||
+ | Block Size: 512 bytes, including 8 byte MAC header | ||
+ | Each file contains 8 byte header with unique IV data. | ||
+ | Filenames encoded using IV chaining mode. | ||
+ | File data IV is chained to filename IV. | ||
+ | |||
+ | rsync version 2.6.9 protocol version 29 | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ==== cleanup ==== | ||
+ | |||
+ | locate .googleearth | ||
+ | |||
+ | |||
+ | ===== LINKS ===== | ||
+ | |||
+ | * https://github.com/gilbertchen/duplicacy | ||
+ | * https://duplicacy.com/home.html | ||
+ | * https://duplicacy.com/backblaze.html | ||
+ | |||
+ | ===== MISC ===== | ||
+ | |||
+ | * DVD: 4.7 GB | ||
+ | |||
+ | |||
+ | ===== MORE ===== | ||
+ | |||
+ | @TaG: [[FileSystem]] [[Storage]] RSynC MigratE | ||