PranavB
10 years agoLevel 4
Archive backup setup
Geeks !
I have never worked on setting up the archive backup ,can you guide me setting up one.
All i have to do is to schedule the automatic run of archive backup to delete archive logs which which be on mount /archive_log on server sarchive
I need to backup logs older than 3 days and delete them.
Policy type will be standard and both master and client on solaris sparcx 64.
Can you please advise the setup.
bparchive -p archive_test -s test -L /tmp/archive -S master -t 0 -f /tmp/batra_test1
Thanks,
Pb
To add: bprachive takes -f filelist option, so why not...
Execute find command to populate filelist, then use it in the bparchive cmd?
find /my/archive/target -mtime +3 -ls > /tmp/my-archivelist
...
bparchive ........ -f /tmp/my-archivelist
Done.
jim