UNSOLVED

jmcdsi

updated

16 years ago

J

jmcdsi

16 Posts

0

1451

June 16th, 2010 12:00

Execute a checkpoint from pre-backup script

Trying to execute a new checkpoint of a filesystem at the time of backup using a script on the backup server.

The script performs the following actions:

1. Quiesces application for backup.

2. Remotely executes a SQL backup via stored procedure.

3. (need help here) Remotely executes a checkpoint of target file system.

Have been messing around with RSH and using nas_ckpt command but it seems like I'm forced to provide a date\time for the checkpoint to run. This is problematic since I want the checkpoint to run "now" at the time the script runs on the backup server.

Based on review of the Help file it doesn't look like I can dynamically run the checkpoint..?

thx,

Joe

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    824

    1

    Posted June 16th, 2010 13:00

    checkpoint of iSCSI LUN or just the regular file system ? For regular file system you don't have to provide anything (fs_ckpt fs_name -Create)

  • gbarretoxx1

    2 Intern

    •

    366 Posts

    824

    1

    Posted June 16th, 2010 13:00

    Hi,

    try to use the fs_ckpt command with syntax fs_ckpt -C.

    It will create a checkpoint called _ckptx, where x is a sequential number starting on 1.

    Gustavo Barreto.

  • jmcdsi

    16 Posts

    824

    0

    Posted June 17th, 2010 05:00

    Thanks guys...I overlooked the fs_ckpt command when I went down the rabbit hole with nas_ckpt.

  • DanJost

    190 Posts

    824

    0

    Posted June 17th, 2010 06:00

    My 2cents -

    What kind of database is this?  If your combination of hardware/software is supported by Replication Manager, you may want to check it out as it makes the snapshots application-aware.  You can schedule your backups through the RM scheduler or run the snapshot via the RM CLI.  You can also present the snapshot to another server (I generally do this to my backup server) to do an off-host backup.  I do all of this on my Clariion but the Celerra should also support this.

    Dan