Unsolved
This post is more than 5 years old
306 Posts
0
1202
How to script a NASDB backup?
How can a script be created to backup the NAS DB files to a FTP server?
I have VERY little scripting experience so any help is appreciated.
Thanks.
I have VERY little scripting experience so any help is appreciated.
Thanks.
gbarretoxx1
366 Posts
0
September 24th, 2009 10:00
the nasdb backup is already done via cron job.
/nas/site/cron.d/nas_sys :
1 * * * * nasadmin /nas/sbin/nasdb_backup /nas /celerra/backup 1 &>/dev/null
The location of the backup file depends on the NAS code version, but it can be on /celerra/backup or /nas/var/backup.
So, you just need to copy these files out of the Control Station.
Gustavo Barreto.
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
September 24th, 2009 11:00
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
November 30th, 2009 13:00
this will prompt you for nasadmin password, search google on how to setup public key authentication so you don't get prompted for password.
DHoffman2
306 Posts
0
November 30th, 2009 13:00
I've downloaded pscp, can you give me an example of the syntax to use?
DHoffman2
306 Posts
0
December 1st, 2009 07:00