Penguin
Annotated edit history of BackupNotes version 20, including all changes. View license author blame.
Rev Author # Line
17 AristotlePagaltzis 1 !!! Advice
9 JohnMcPherson 2
17 AristotlePagaltzis 3 <big>__''Back up your data!!!''__</big>
4
5 Home user::
16 CraigBox 6 Write or acquire a script that copies it off onto another machine.
17 AristotlePagaltzis 7
8 Enterprise server::
10 AristotlePagaltzis 9 Buy a tape drive and consider using a good commercial backup program or writing some ''really good'' scripts.
9 JohnMcPherson 10
17 AristotlePagaltzis 11 (P.S. __''Back up your data!''__) Otherwise you might end up like [this guy | http://www.wlug.org.nz/archive/sounds/canonhelpdesk.mp3] (warning: contains bad words).
16 CraigBox 12
17 AristotlePagaltzis 13 !!! Tools
14
15 If you are looking for commercial dedicated backup tools, take a look at [Arkeia] and BackupExec.
16
19 CraigBox 17 For homegrown solutions, you can use tar(1) or rsync(1). The latter is particularly interesting as it can synch directory trees with minimal I/O. To copy to another machine/partition etc you can do <tt>rsync -av --rsh="ssh" sourcedir destdir</tt>. Other options you might like to consider on rsync(1) command line are <tt>-l</tt> which keeps symlinks intact, <tt>-z</tt> which compresses the data (useful over slow links), <tt>-u</tt> which checks that the destination is not newere, and <tt>--delete</tt> which deletes files which exist on the destination but not the source (use with caution!!)
17 AristotlePagaltzis 18
20 CraigBox 19 When using rsync(1) it is important whether you have a slash at the end of the directory or not. If you have the slash the destination directory is where it copies it too, otherwise it is one level up. For example to synchronise a directory test in the home directory to a machine with name remotepc and deleting files that aren't in the source you can do: <tt>rsync -luvaz --delete ~~/test remotepc:</tt>
18 IanMcDonald 20
20 CraigBox 21 rsync(1) has also been used as the basis for a number of [Free] tools, such as the excellent [rsnapshot|http://www.rsnapshot.org/], which lets you keep multiple backups at only slightly more space usage than a single day by keeping only one copy of files unchanged across backups. Another rsync(1)-based tool is rdiff-backup(1), a [Python] program based on rdiff(1).
17 AristotlePagaltzis 22
23 !!! See also
11 AristotlePagaltzis 24
19 CraigBox 25 * TarNotes for information on backing up large amounts of data to more than one tape with tar(1)
17 AristotlePagaltzis 26 * ArkeiaNotes
27 * BackupExecNotes
10 AristotlePagaltzis 28 * [Linux Ext2fs Undeletion mini-HOWTO | http://www.tldp.org/HOWTO/Ext2fs-Undeletion.html] (although you don't need to since you have good backups, right?)
17 AristotlePagaltzis 29
9 JohnMcPherson 30 ----
31 CategoryDiskNotes

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 2 times)