wiki:backuppc_mssql
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:backuppc_mssql [2015/06/03 21:33] – jrdalrymple | wiki:backuppc_mssql [2018/09/27 02:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| - Create a folder somewhere on the server, I use a folder called " | - Create a folder somewhere on the server, I use a folder called " | ||
| - | - Change the permissions to be very restrictive on that folder, only the unprivileged windows user performing | + | - Change the permissions to be very restrictive on that folder, only the unprivileged windows user **and the user that is running |
| - We need 2 files in that folder\\ <file DOS backup_dbs.cmd> | - We need 2 files in that folder\\ <file DOS backup_dbs.cmd> | ||
| erase " | erase " | ||
| - | sqlcmd -E -i " | + | sqlcmd -E -i " |
| BACKUP DATABASE [DATABASE_1] TO DISK = N' | BACKUP DATABASE [DATABASE_1] TO DISK = N' | ||
| BACKUP DATABASE [DATABASE_2] TO DISK = N' | BACKUP DATABASE [DATABASE_2] TO DISK = N' | ||
| Line 37: | Line 37: | ||
| - The user on your BackupPC server that is running the daemon needs to be able to login to the Windows host without a password, you can ID this user with `ps -ef | grep " | - The user on your BackupPC server that is running the daemon needs to be able to login to the Windows host without a password, you can ID this user with `ps -ef | grep " | ||
| - If you haven' | - If you haven' | ||
| - | - - su backuppc | + | |
| - ssh-keygen | - ssh-keygen | ||
| - cat .ssh/ | - cat .ssh/ | ||
wiki/backuppc_mssql.1433367188.txt.gz · Last modified: 2018/09/27 02:30 (external edit)