repo.or.cz
/
rsync_backup.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
create the host directory on first run
[rsync_backup.git]
/
vdb_backup.sh
blob
433612cdb894f4a03a2f402b018b68bf8ef69172
1
#!/bin/sh
2
3
.
/
etc
/
conf.d
/
backup
4
5
#7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on /var/backups/vdb.7z /var/db/pkg
6
tar
cf
- /
var
/
db
/
pkg |
7
za a
-si
/
var
/
backups
/
vdb.
tar
.7
z
7