on 2015 Mar 19 2:01 PM
Hello,
I have several Win2k8 Win2k12 servers running SQL Anywhere 12.0.1. I'm running the dbbackup utility on my servers to generate full backups to a share on a FreeNAS server every night.
About once a week, one of servers doesn't back up. dbbackup runs, but within 15 minutes or so it completes without generating emr.db or emr.log files, and doesn't truncate the log file.
The servers run this command, where U: is a drive mapped to a CIFS share on the FreeNAS server:
"C:\\Program Files\\SQL Anywhere 12\\Bin64\\dbbackup.exe" -o u:\\backup_dir\\backup_log.log -c "eng=databasename;userid=user;password=password" -x -y u:\\backup_dir\\latest\\dbbackup >> u:\\backup_dir\\backup_log.log 2>&1
Here is an example of what is logged, where 2/18 had a good backup and 2/19 did not:
DBBackuping Database Wed 02/18/2015 0:04:29.07 SQL Anywhere Backup Utility Version 12.0.1.3152 (42557264 of estimated 42557264 pages, 100% complete) Transaction log truncated Database backup completed DBBackup finished Wed 02/18/2015 1:49:18.57 Moving previous backups Thu 02/19/2015 0:00:05.63 DBBackuping Database Thu 02/19/2015 0:02:25.93 SQL Anywhere Backup Utility Version 12.0.1.3152 DBBackup finished Thu 02/19/2015 0:09:32.28
My database file sizes range between 60 GB and 500 GB. The intermittent failed backups are happening both on brand new servers as well as on older servers. The FreeNAS server isn't under any stress when this happens. It also seems to happen whether I'm backing up to Windows server shares or FreeNAS CIFS shares.
If I want to generate full backups every night to a FreeNAS server, is running the dbbackup utility on the server the best way to do this?
User | Count |
---|---|
62 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.