HashBackup setup: Difference between revisions

From Notes to self
Jump to navigation Jump to search
No edit summary
No edit summary
Line 40: Line 40:
hb config pack-download-limit 10TB
hb config pack-download-limit 10TB
hb config pack-percent-free 10
hb config pack-percent-free 10
</pre>
* Crontab:
<pre>
m h * * * /usr/bin/touch /root/npbin/.hb-daily-marker
</pre>
</pre>


[[Category: FreeBSD]]
[[Category: FreeBSD]]

Revision as of 02:32, 11 April 2025

destname fbsd
type s3
host example.com
location loc
accesskey ...
secretkey ...
bucket fbsd
class ia
secure
  • # chmod 400 /var/hashbackup/dest.conf
  • Customize /compat/linux/hashbackup/inex.conf
ex /hb/boot/

ex /hb/home/*/.sh_history
ex /hb/home/*/.bash_history
ex /hb/home/*/.cache
ex /hb/home/*/.gvfs

ex /hb/root/.sh_history
ex /hb/root/.bash_history
ex /hb/root/.cache
ex /hb/root/.gvfs
...
  • Set configuration options:
hb config cache-size-limit ...
hb config dedup-mem ...GB
hb config copy-executable True
hb config no-backup-tag .nobackup,CACHEDIR.TAG
hb config pack-age-days 0
hb config pack-download-limit 10TB
hb config pack-percent-free 10
  • Crontab:
m h * * * /usr/bin/touch /root/npbin/.hb-daily-marker