https://wiki.archlinux.org/api.php?action=feedcontributions&user=Quentin&feedformat=atomArchWiki - User contributions [en]2024-03-29T08:05:01ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Duplicity&diff=192151Duplicity2012-03-29T14:56:47Z<p>Quentin: Undo revision 192100 by Quentin (talk) since deja-dup was already mentioned.</p>
<hr />
<div>[[Category:Data compression and archiving (English)]]<br />
[[Category:Networking (English)]]<br />
[[Category:Security (English)]]<br />
[[Category:System recovery (English)]]<br />
Duplicity is a network backup program.<br />
<br />
It can save snapshots of directories and files to a remote GnuPG encrypted tar file, which acts as a backup repository.<br />
Connecting with the remote backup repository can take place through one of the rsync, ftp, HSI, WebDAV, Tahoe-LAFS, or Amazon S3 protocols.<br />
<br />
Backups are granularly incremental, meaning that only changes in files (since the last snapshot) are stored.<br />
<br />
==Installation==<br />
<br />
pacman -S duplicity<br />
<br />
{{AUR|duply}}, a shell frontend, is available in [[AUR]].<br />
<br />
{{pkg|deja-dup}}, a easy to use frontend, is available in [[Official Repositories]].<br />
<br />
==Basic Usage==<br />
<br />
===Doing backups===<br />
<br />
To backup the local folder ''/home/me'' to the remote location ''/usr/backup'' on host ''other.host'' through the ''scp/ssh'' protocol, use:<br />
<br />
duplicity /home/me scp://uid@other.host//usr/backup<br />
<br />
The first time this command is run, it will create a full backup. Running the exact same command again causes an incremental backup to the existing backup repository.<br />
<br />
Additional command-line options options allow to:<br />
* include or exclude specific files and directories from the backup (using shell patterns or regular expressions)<br />
* fine-tune encryption and signing of the backups<br />
<br />
===Restoring files from backup===<br />
<br />
To restore the local folder ''/home/me'' to the state of the last snapshot saved in the remote repository ''/usr/backup'' on host ''other.host'', do:<br />
<br />
duplicity scp://uid@other.host//usr/backup /home/me <br />
<br />
Note the reversed ordering or the arguments compared to the backup command above. The URL argument is always treated as the backup repository, and the local path argument as the directory to sync with the backup. (A local backup repository needs to be explicitly specify using the file:// protocol prefix!)<br />
<br />
Additional command-line option exist to allow:<br />
* restore a specific file instead of the whole repository<br />
* restore file(s) to the state they had on a specific date, rather than to the most recent available snapshot<br />
<br />
===Repository inspection and house-keeping===<br />
<br />
Some additional command-line options exist for comparing the repository state to the state of the local files, and to delete old snapshots so as to only keep a fixed amount of snapshots or only ones that are newer than a given date.<br />
<br />
See the man page for details.<br />
<br />
==See also==<br />
<br />
* '''rdiff-backup'''<br />
:Similar to Duplicity in that it also stores granularly incremental backups in a remote repository, but rather than uploading encrypted tar archives over arbitrary network protocols it creates a plain file mirror on the remote system using a custom protocol on top of ssh, similarly to how [[Rsync]] works.<br />
<br />
== External links ==<br />
<br />
* [http://duplicity.nongnu.org/ Duplicity home page]<br />
* [[Wikipedia:Duplicity (software)]]<br />
* [https://launchpad.net/deja-dup Déjà Dup home page]</div>Quentinhttps://wiki.archlinux.org/index.php?title=Duplicity&diff=192100Duplicity2012-03-29T08:12:57Z<p>Quentin: Mention Déjà Dup.</p>
<hr />
<div>[[Category:Data compression and archiving (English)]]<br />
[[Category:Networking (English)]]<br />
[[Category:Security (English)]]<br />
[[Category:System recovery (English)]]<br />
Duplicity is a network backup program.<br />
<br />
It can save snapshots of directories and files to a remote GnuPG encrypted tar file, which acts as a backup repository.<br />
Connecting with the remote backup repository can take place through one of the rsync, ftp, HSI, WebDAV, Tahoe-LAFS, or Amazon S3 protocols.<br />
<br />
Backups are granularly incremental, meaning that only changes in files (since the last snapshot) are stored.<br />
<br />
==Installation==<br />
<br />
pacman -S duplicity<br />
<br />
{{AUR|duply}}, a shell frontend, is available in [[AUR]].<br />
<br />
{{pkg|deja-dup}}, a easy to use frontend, is available in [[Official Repositories]].<br />
<br />
==Basic Usage==<br />
<br />
===Doing backups===<br />
<br />
To backup the local folder ''/home/me'' to the remote location ''/usr/backup'' on host ''other.host'' through the ''scp/ssh'' protocol, use:<br />
<br />
duplicity /home/me scp://uid@other.host//usr/backup<br />
<br />
The first time this command is run, it will create a full backup. Running the exact same command again causes an incremental backup to the existing backup repository.<br />
<br />
Additional command-line options options allow to:<br />
* include or exclude specific files and directories from the backup (using shell patterns or regular expressions)<br />
* fine-tune encryption and signing of the backups<br />
<br />
===Restoring files from backup===<br />
<br />
To restore the local folder ''/home/me'' to the state of the last snapshot saved in the remote repository ''/usr/backup'' on host ''other.host'', do:<br />
<br />
duplicity scp://uid@other.host//usr/backup /home/me <br />
<br />
Note the reversed ordering or the arguments compared to the backup command above. The URL argument is always treated as the backup repository, and the local path argument as the directory to sync with the backup. (A local backup repository needs to be explicitly specify using the file:// protocol prefix!)<br />
<br />
Additional command-line option exist to allow:<br />
* restore a specific file instead of the whole repository<br />
* restore file(s) to the state they had on a specific date, rather than to the most recent available snapshot<br />
<br />
===Repository inspection and house-keeping===<br />
<br />
Some additional command-line options exist for comparing the repository state to the state of the local files, and to delete old snapshots so as to only keep a fixed amount of snapshots or only ones that are newer than a given date.<br />
<br />
See the man page for details.<br />
<br />
==See also==<br />
<br />
* '''rdiff-backup'''<br />
:Similar to Duplicity in that it also stores granularly incremental backups in a remote repository, but rather than uploading encrypted tar archives over arbitrary network protocols it creates a plain file mirror on the remote system using a custom protocol on top of ssh, similarly to how [[Rsync]] works.<br />
<br />
* '''Déjà Dup'''<br />
:Déjà Dup uses duplicity as a backend and provides a GUI to configure your backups and restore then easily. It's [http://www.archlinux.org/packages/community/x86_64/deja-dup/ available in community.]<br />
<br />
== External links ==<br />
<br />
* [http://duplicity.nongnu.org/ Duplicity home page]<br />
* [[Wikipedia:Duplicity (software)]]<br />
* [https://launchpad.net/deja-dup Déjà Dup home page]</div>Quentin