HashBackup setup: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 30: | Line 30: | ||
ex /hb/root/.gvfs | ex /hb/root/.gvfs | ||
... | ... | ||
</pre> | |||
* Set configuration options: | |||
<pre> | |||
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 | |||
</pre> | </pre> | ||
[[Category: FreeBSD]] | [[Category: FreeBSD]] | ||
Revision as of 02:29, 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