Hi,

I have looked at the help for backup and also on SecureKnowledge. 

I get it to work when I put the backup file manually on the disk with schedule, 
and I also get it to work when I do it manually to a scp server.

However it does not work with scheduling and to a scp server.

Works:

backup --scp <SmartCenter ip> <user> <passwd> -path /path/to/backup
(manually to a scp server)

backup --sched on 10:26 -w 1
(scheduling to local disk)

Does not work:

backup --sched on 04:00 -w 1 --scp <SmartCenter ip> <user> <passwd> -path 
/path/to/backup

So scheduling backup to a scp server does not work.


-Torkel

-----Opprinnelig melding-----
Fra: Mailing list for discussion of Firewall-1 [mailto:[EMAIL PROTECTED] På 
vegne av Christopher McGill
Sendt: 15. mars 2007 22:33
Til: [email protected]
Emne: Re: [FW-1] Schedule backup on Secureplatform

 The backup process can be scheduled in the Web Interface as follows:

   1. Login to the Web Interface via "
   https://SecurePlatform_IP_address:443"; (default).
   2. Enter the Administrator username and Standard mode password.
   3. Select the Backup tab on the Device page.
   4. Schedule a backup by checking the box "Enable backup recurrence".
   5. Configure the day and time of the scheduled backup.
   6. Select the destination where the backup file will be stored. The
   file can be stored on SecurePlatform, on a TFTP server, or on an SCP server.
   7. Click 'Apply'.



Backup output files are kept in tar gzipped format(.tgz). If a filename is
not specified, a default name will be provided with the following format:
backup_day of month_month_year_hour_minutes.tgz
For example: backup_13_11_2003_12_47.tgz

Backup files saved locally (on SecurePlatform) are kept in
/var/CPbackup/backups.

The backup command syntax can be displayed by specifying the "--help"
switch:
[EMAIL PROTECTED] --help
backup [-h] [-d] [--purge DAYS] [--sched [on hh:mm <-m DayOfMonth> |
<-w DaysOfWeek>] | off] [[--tftp <ServerIP> [<Filename>]] |
[--scp <ServerIP> <Username> <Password> [<Filename>]] |
[--file <Filename>]]

Where:
-d = Show debug messages
-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

*To schedule a backup from the command line:*

   1. Run the backup command, specifying the "--sched" or "-e" switches,
   and specify the date and time; for example:
   [EMAIL PROTECTED] --sched on 11:30 -m 28 --file sched1
   The above command schedules a backup on 11:30 am on the 28th day of
   the month.
   2. Verify that the backup is running successfully, as scheduled:
   [EMAIL PROTECTED] /var/CPbackup/backups
   backup_28_09_2004_11_30.tgz

Christopher McGill
CCSE, CCSA, CCNA


On 3/15/07, Torkel Mathisen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would like to schedule a backup every day on SecurePlatform and scp
> the files to the management server.
>
> So I tried the following command:
>
> backup --sched on 04:00 -w <daysofweek> --scp <ip-address of
> SmartCenter> <user> <passwd> -path <path>
>
> However this configuration does not work. It won't transfer the backup
> file.
>
> I know the scp work and everything because I can manually scp files into
> the same path with the same user and password.
>
> Anyone knows how to do this?
>
> I can't get the WebUI config to work either because you can't specify a
> directory there.
>
>
> Regards,
> Torkel
>
> =================================================
> To set vacation, Out-Of-Office, or away messages,
> send an email to [EMAIL PROTECTED]
> in the BODY of the email add:
> set fw-1-mailinglist nomail
> =================================================
> To unsubscribe from this mailing list,
> please see the instructions at
> http://www.checkpoint.com/services/mailing.html
> =================================================
> If you have any questions on how to change your
> subscription options, email
> [EMAIL PROTECTED]
> =================================================
>

=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to [EMAIL PROTECTED]
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
[EMAIL PROTECTED]
=================================================

=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to [EMAIL PROTECTED]
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
[EMAIL PROTECTED]
=================================================

Reply via email to