https://wiki.qnap.com/mediawiki/index.php?title=Rdiff-backup&feed=atom&action=historyRdiff-backup - Revision history2024-03-28T21:11:36ZRevision history for this page on the wikiMediaWiki 1.39.3https://wiki.qnap.com/mediawiki/index.php?title=Rdiff-backup&diff=589&oldid=prevAdmin: 1 revision imported2015-06-30T04:10:42Z<p>1 revision imported</p>
<p><b>New page</b></p><div>This article describes how to setup rdiff-backup on a [[QNAP]] [[NAS]] device. This is useful if you want to make incremental backups of your server. This recipe has been tested on a TS-509 Pro. <br />
<br />
== QNAP Server Setup ==<br />
<br />
Install [[Ipkg]] on the qnap server. See [[Install Optware IPKG]], but briefly: <br />
<br />
*Go to System Tool -&gt; qpkg -&gt; Get qpkg <br />
*Right click "Optware IPKG (Itsy Package Management System)" copy and paste link to new browser <br />
*Download the software and then install as fireware update<br />
<br />
Update ipkg and install rdiff-backup <br />
<br />
ipkg update<br />
ipkg list | grep rdiff-backup<br />
ipkg install py26-rdiff-backup<br />
<br />
Find out the version of rdiff-backup because your other rdiff-backup software will need to match exactly. Note it has a slightly different name than normal. <br />
<br />
rdiff-backup-2.6 -V<br />
<br />
Make a symbolic link in the paths so that we can call rdiff-backup rather than rdiff-backup-2.6 from the shell <br />
<br />
ln -s /opt/bin/rdiff-backup-2.6 /opt/bin/rdiff-backup<br />
<br />
Test our command <br />
<br />
rdiff-backup -V<br />
<br />
Make a soft link so that it can be accessed by ssh <br />
<br />
ln -s /opt/bin/rdiff-backup-2.6 /bin/rdiff-backup<br />
<br />
Test this on a remote machine <br />
<br />
ssh admin@yourqnapserver rdiff-backup -V<br />
<br />
== How to use rdiff-backup ==<br />
<br />
The software is quite simple and there is a good guides here: http://www.nongnu.org/rdiff-backup/examples.html . <br />
<br />
[[Category:Backup]] [[Category:Remote Replication/ Disaster Recovery]] [[Category:QPKG]] [[Category:Optware_IPKG]]</div>Admin