HashBackup setup: Difference between revisions
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
- Start Linuxulator
# pkg install linux_base-rl9- Download
hbfrom https://www.hashbackup.com/hashbackup/download.html to/root/bin/hb - # hb init -c /hashbackup
- Create
/compat/linux/hashbackup/dest.conf
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