first, setup the directory where you want the backup to store the database files. make sure that the owner and rights are set correctly. if you don't know how, try to google chown and chmod.
then edit the init<SID>.sap. the following parameters needs to be modified:
backup_dev_type = disk
backup_root_dir = <brbackup backup directory>
archive_stage_dir = <brarchive backup directory>
if you don't have much disk space in the backup directory, try enabling the compression by modifying:
compress = yes
and make sure that compression command is set
compress_cmd = "gzip -c $ > $"
run brbackup or braarchive to test your backup. in the header you will see something like this:

make sure to clean up your directory. i got some scripts which i'll post next time.
No comments:
Post a Comment