| CPUG | |
| The Check Point User Group | |
| A Resource For The Check Point Community. Fast. Useful. Independent. | |
|
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Hello. I need you to backup of the SCC. I used: # backup --help usage: backup [-h] [-d] [-l] [--purge DAYS] [--sched [on hh:mm <-m DayOfMonth> | <-w DaysOfWeek>] | off] [--tftp <ServerIP> [-path <Path>] [<Filename>]] [--scp <ServerIP> <Username> <Password> [-path <Path>] [<Filename>]] [--file [-path <Path>] [<Filename>]] where: -d Show debug messages -l, --logs Back up log files -h, --help Show this help information -t, --tftp Transfer backup package to TFTP server -s, --scp Transfer backup package to SCP server -f, --file Specify local backup package filename -e, --sched Configure scheduled backup operation -p, --purge Purge local backup packages older than DAYS The option --logs which file .log save? All log files or the last create with switchlog? Thanks Last edited by longhill; 2008-04-24 at 05:36. |
| |||
| I edit script for backup: #!/bin/sh . /etc/profile.d/CP.sh cd /var/CPbackup/backups echo | backup -d --file /var/CPbackup/backups/`date`_fw_export scp `date`_fw_export root@172.29.198.23:/data/backup rm `date`_fw_export.tgz exit 0 Can I exec the backup command without me being asked "Are you sure you want to proceed?" The command "echo |" not work !!! Thanks |
![]() |
| Thread Tools | |
| Display Modes | |
| |