We are using MS POS in conjunction with MS Office Accounting Pro and we would like to automatically back up our POS database nightly after the shop closes (say midnight).
Is this possible?
M Kalmus
We are using MS POS in conjunction with MS Office Accounting Pro and we would like to automatically back up our POS database nightly after the shop closes (say midnight).
Is this possible?
M Kalmus
osql -U sa -P -S ServerName -Q "BACKUP DATABASE databasename TO DISK 'e:\backup\back1.bck'" osql -U sa -P test -S Robbert\TEST -Q "BACKUP DATABASE TESTDB TO DISK = 'C:\TESTDB.bck'"
NOTE - Each time this is run the filename will be the same name entered for the path and filename within the Backup statement. You should also add a delete line in the batch file before the backup. Otherwise you backup will just keep doubling in size.
BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.