Is it possible to use TSQL differential backups on a system that uses VSS?How can I fix “Cannot perform a...
How do you funnel food off a cutting board?
How would an AI self awareness kill switch work?
Why zero tolerance on nudity in space?
awk + sum all numbers
Why would space fleets be aligned?
Digits in an algebraic irrational number
What is the lore-based reason that the Spectator has the Create Food and Water trait, instead of simply not requiring food and water?
What is the wife of a henpecked husband called?
Why did other German political parties disband so fast when Hitler was appointed chancellor?
What's a good word to describe a public place that looks like it wouldn't be rough?
How can I deliver in-universe written lore to players without it being dry exposition?
My cat mixes up the floors in my building. How can I help him?
Can I string the D&D Starter Set campaign into another module, keeping the same characters?
What is 6÷2×(1+2) =?
How to count the characters of jar files by wc
Is a debit card dangerous in my situation?
Cookies - Should the toggles be on?
Am I a Rude Number?
It took me a lot of time to make this, pls like. (YouTube Comments #1)
How can my powered armor quickly replace its ceramic plates?
If I delete my router's history can my ISP still provide it to my parents?
Blindfold battle as a gladiatorial spectacle - what are the tactics and communication methods?
Incorporating research and background: How much is too much?
One Half of Ten; A Riddle
Is it possible to use TSQL differential backups on a system that uses VSS?
How can I fix “Cannot perform a differential backup … a current database backup doesn't exist”?Incremental Database/Data Change RestoreFULL recovery and differential backupsSQL Server Backup ProposalHow to reduce the size of ldf file?onsite and offsite backup questionBackup chain for DBs restored from a different serverRestore log backups to non-readable async AlwaysOn replicaSQL Server High Availability restore copy_only backups from secondary replica problemWill VSS backups break logchain?Use of third-party VSS backup plus native SQL backup
Our colocation provider uses VSS to backup our dedicated server. The backups show up in the SQL logs as SQL backups even though they are not and that breaks the Full-Diff chain. The issue is well documented on StackExchange Database Administrators, but they all stop there.
Is it possible to do TSQL differential or incremental backups on a system that also uses VSS?
If not, is there a better approach for off-site backups assuming that we don't want to lose the onsite full-system VSS backups?
SQL Server 2012 SP3 if that matters.
sql-server backup vss
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Our colocation provider uses VSS to backup our dedicated server. The backups show up in the SQL logs as SQL backups even though they are not and that breaks the Full-Diff chain. The issue is well documented on StackExchange Database Administrators, but they all stop there.
Is it possible to do TSQL differential or incremental backups on a system that also uses VSS?
If not, is there a better approach for off-site backups assuming that we don't want to lose the onsite full-system VSS backups?
SQL Server 2012 SP3 if that matters.
sql-server backup vss
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Why can't you do regular SQL backups or why can't they do it for you?
– Antoine Hernandez
Nov 9 '16 at 18:39
VSS backup as far as I know not breaks backups chains by resetting LSN its the snapshot backup. VSS backup also means backup by third party tools although snapshot backup also relies on VSS for backup
– Shanky
Nov 10 '16 at 5:51
@Antonine - We are doing regular SQL backups. A daily full then every couple of hours a differential. VSS backups can break the differential chain.
– Alien Technology
Dec 4 '16 at 15:09
@Shanky - I will find the URL and post here, but apparently VSS backups put the DB in a state as if they were going to do a backup so they can get a clean copy. This state resets the LSN.
– Alien Technology
Dec 4 '16 at 15:11
I can't find the write-up that I was looking for, but these pages describe the issue from different viewpoints: support.microsoft.com/en-us/kb/937683 support.microsoft.com/en-us/kb/951288 nixx.ca/wiki/doku.php?id=vmware:quiesce_sql
– Alien Technology
Dec 4 '16 at 16:02
add a comment |
Our colocation provider uses VSS to backup our dedicated server. The backups show up in the SQL logs as SQL backups even though they are not and that breaks the Full-Diff chain. The issue is well documented on StackExchange Database Administrators, but they all stop there.
Is it possible to do TSQL differential or incremental backups on a system that also uses VSS?
If not, is there a better approach for off-site backups assuming that we don't want to lose the onsite full-system VSS backups?
SQL Server 2012 SP3 if that matters.
sql-server backup vss
Our colocation provider uses VSS to backup our dedicated server. The backups show up in the SQL logs as SQL backups even though they are not and that breaks the Full-Diff chain. The issue is well documented on StackExchange Database Administrators, but they all stop there.
Is it possible to do TSQL differential or incremental backups on a system that also uses VSS?
If not, is there a better approach for off-site backups assuming that we don't want to lose the onsite full-system VSS backups?
SQL Server 2012 SP3 if that matters.
sql-server backup vss
sql-server backup vss
asked Nov 9 '16 at 18:08
Alien TechnologyAlien Technology
1163
1163
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Why can't you do regular SQL backups or why can't they do it for you?
– Antoine Hernandez
Nov 9 '16 at 18:39
VSS backup as far as I know not breaks backups chains by resetting LSN its the snapshot backup. VSS backup also means backup by third party tools although snapshot backup also relies on VSS for backup
– Shanky
Nov 10 '16 at 5:51
@Antonine - We are doing regular SQL backups. A daily full then every couple of hours a differential. VSS backups can break the differential chain.
– Alien Technology
Dec 4 '16 at 15:09
@Shanky - I will find the URL and post here, but apparently VSS backups put the DB in a state as if they were going to do a backup so they can get a clean copy. This state resets the LSN.
– Alien Technology
Dec 4 '16 at 15:11
I can't find the write-up that I was looking for, but these pages describe the issue from different viewpoints: support.microsoft.com/en-us/kb/937683 support.microsoft.com/en-us/kb/951288 nixx.ca/wiki/doku.php?id=vmware:quiesce_sql
– Alien Technology
Dec 4 '16 at 16:02
add a comment |
Why can't you do regular SQL backups or why can't they do it for you?
– Antoine Hernandez
Nov 9 '16 at 18:39
VSS backup as far as I know not breaks backups chains by resetting LSN its the snapshot backup. VSS backup also means backup by third party tools although snapshot backup also relies on VSS for backup
– Shanky
Nov 10 '16 at 5:51
@Antonine - We are doing regular SQL backups. A daily full then every couple of hours a differential. VSS backups can break the differential chain.
– Alien Technology
Dec 4 '16 at 15:09
@Shanky - I will find the URL and post here, but apparently VSS backups put the DB in a state as if they were going to do a backup so they can get a clean copy. This state resets the LSN.
– Alien Technology
Dec 4 '16 at 15:11
I can't find the write-up that I was looking for, but these pages describe the issue from different viewpoints: support.microsoft.com/en-us/kb/937683 support.microsoft.com/en-us/kb/951288 nixx.ca/wiki/doku.php?id=vmware:quiesce_sql
– Alien Technology
Dec 4 '16 at 16:02
Why can't you do regular SQL backups or why can't they do it for you?
– Antoine Hernandez
Nov 9 '16 at 18:39
Why can't you do regular SQL backups or why can't they do it for you?
– Antoine Hernandez
Nov 9 '16 at 18:39
VSS backup as far as I know not breaks backups chains by resetting LSN its the snapshot backup. VSS backup also means backup by third party tools although snapshot backup also relies on VSS for backup
– Shanky
Nov 10 '16 at 5:51
VSS backup as far as I know not breaks backups chains by resetting LSN its the snapshot backup. VSS backup also means backup by third party tools although snapshot backup also relies on VSS for backup
– Shanky
Nov 10 '16 at 5:51
@Antonine - We are doing regular SQL backups. A daily full then every couple of hours a differential. VSS backups can break the differential chain.
– Alien Technology
Dec 4 '16 at 15:09
@Antonine - We are doing regular SQL backups. A daily full then every couple of hours a differential. VSS backups can break the differential chain.
– Alien Technology
Dec 4 '16 at 15:09
@Shanky - I will find the URL and post here, but apparently VSS backups put the DB in a state as if they were going to do a backup so they can get a clean copy. This state resets the LSN.
– Alien Technology
Dec 4 '16 at 15:11
@Shanky - I will find the URL and post here, but apparently VSS backups put the DB in a state as if they were going to do a backup so they can get a clean copy. This state resets the LSN.
– Alien Technology
Dec 4 '16 at 15:11
I can't find the write-up that I was looking for, but these pages describe the issue from different viewpoints: support.microsoft.com/en-us/kb/937683 support.microsoft.com/en-us/kb/951288 nixx.ca/wiki/doku.php?id=vmware:quiesce_sql
– Alien Technology
Dec 4 '16 at 16:02
I can't find the write-up that I was looking for, but these pages describe the issue from different viewpoints: support.microsoft.com/en-us/kb/937683 support.microsoft.com/en-us/kb/951288 nixx.ca/wiki/doku.php?id=vmware:quiesce_sql
– Alien Technology
Dec 4 '16 at 16:02
add a comment |
1 Answer
1
active
oldest
votes
It seems that there are two primary solutions to allow differential SQL backups on a server that does VSS backups.
1) On the full server backup, use COPY_ONLY if that is available.
2) Disable the "SQL Server VSS Writer" service.
Some full system backups using VSS record a backup to get SQL Server to pause long enough for a backup. This pause is recorded as if it were a backup but the file is never created.
In our case, disabling the SQL Server VSS Writer service seems to be the best approach. Since the database is not quiesced during the system backup, we assume that the database will not be in a valid state after a full system restore and we will have to restore our regular SQL Server backups at that time.
More information can be found at:
How can I fix “Cannot perform a differential backup … a current database backup doesn't exist”?
How can I fix "Cannot perform a differential backup ... a current database backup doesn't exist"?
“Cannot perform a differential backup for database ”myDb“, because a current database backup does not exist.”
https://serverfault.com/questions/147459/
Quiesce operations and SQL backups https://nixx.ca/wiki/doku.php?id=vmware:quiesce_sql
Cannot perform a differential backup because current backup does not exist
https://sqlbackupandftp.com/blog/cannot-perform-a-differential-backup-database-current-database-backup-exist/
SQL differential backups failing after windows server backup https://social.msdn.microsoft.com/Forums/sqlserver/en-US/35080750-ad5d-4841-b2ba-e17ee5a799d5
SQL Server records a backup operation in the backupset history table when you use VSS to back up files on a volume https://support.microsoft.com/en-us/kb/951288
Error message when you try to restore a database by using SQL Server Management Studio in SQL Server 2005 after you use the Backup tool: "Restore failed for Server '' (Microsoft.SqlServer.Smo)" https://support.microsoft.com/en-us/kb/937683
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "182"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f154731%2fis-it-possible-to-use-tsql-differential-backups-on-a-system-that-uses-vss%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It seems that there are two primary solutions to allow differential SQL backups on a server that does VSS backups.
1) On the full server backup, use COPY_ONLY if that is available.
2) Disable the "SQL Server VSS Writer" service.
Some full system backups using VSS record a backup to get SQL Server to pause long enough for a backup. This pause is recorded as if it were a backup but the file is never created.
In our case, disabling the SQL Server VSS Writer service seems to be the best approach. Since the database is not quiesced during the system backup, we assume that the database will not be in a valid state after a full system restore and we will have to restore our regular SQL Server backups at that time.
More information can be found at:
How can I fix “Cannot perform a differential backup … a current database backup doesn't exist”?
How can I fix "Cannot perform a differential backup ... a current database backup doesn't exist"?
“Cannot perform a differential backup for database ”myDb“, because a current database backup does not exist.”
https://serverfault.com/questions/147459/
Quiesce operations and SQL backups https://nixx.ca/wiki/doku.php?id=vmware:quiesce_sql
Cannot perform a differential backup because current backup does not exist
https://sqlbackupandftp.com/blog/cannot-perform-a-differential-backup-database-current-database-backup-exist/
SQL differential backups failing after windows server backup https://social.msdn.microsoft.com/Forums/sqlserver/en-US/35080750-ad5d-4841-b2ba-e17ee5a799d5
SQL Server records a backup operation in the backupset history table when you use VSS to back up files on a volume https://support.microsoft.com/en-us/kb/951288
Error message when you try to restore a database by using SQL Server Management Studio in SQL Server 2005 after you use the Backup tool: "Restore failed for Server '' (Microsoft.SqlServer.Smo)" https://support.microsoft.com/en-us/kb/937683
add a comment |
It seems that there are two primary solutions to allow differential SQL backups on a server that does VSS backups.
1) On the full server backup, use COPY_ONLY if that is available.
2) Disable the "SQL Server VSS Writer" service.
Some full system backups using VSS record a backup to get SQL Server to pause long enough for a backup. This pause is recorded as if it were a backup but the file is never created.
In our case, disabling the SQL Server VSS Writer service seems to be the best approach. Since the database is not quiesced during the system backup, we assume that the database will not be in a valid state after a full system restore and we will have to restore our regular SQL Server backups at that time.
More information can be found at:
How can I fix “Cannot perform a differential backup … a current database backup doesn't exist”?
How can I fix "Cannot perform a differential backup ... a current database backup doesn't exist"?
“Cannot perform a differential backup for database ”myDb“, because a current database backup does not exist.”
https://serverfault.com/questions/147459/
Quiesce operations and SQL backups https://nixx.ca/wiki/doku.php?id=vmware:quiesce_sql
Cannot perform a differential backup because current backup does not exist
https://sqlbackupandftp.com/blog/cannot-perform-a-differential-backup-database-current-database-backup-exist/
SQL differential backups failing after windows server backup https://social.msdn.microsoft.com/Forums/sqlserver/en-US/35080750-ad5d-4841-b2ba-e17ee5a799d5
SQL Server records a backup operation in the backupset history table when you use VSS to back up files on a volume https://support.microsoft.com/en-us/kb/951288
Error message when you try to restore a database by using SQL Server Management Studio in SQL Server 2005 after you use the Backup tool: "Restore failed for Server '' (Microsoft.SqlServer.Smo)" https://support.microsoft.com/en-us/kb/937683
add a comment |
It seems that there are two primary solutions to allow differential SQL backups on a server that does VSS backups.
1) On the full server backup, use COPY_ONLY if that is available.
2) Disable the "SQL Server VSS Writer" service.
Some full system backups using VSS record a backup to get SQL Server to pause long enough for a backup. This pause is recorded as if it were a backup but the file is never created.
In our case, disabling the SQL Server VSS Writer service seems to be the best approach. Since the database is not quiesced during the system backup, we assume that the database will not be in a valid state after a full system restore and we will have to restore our regular SQL Server backups at that time.
More information can be found at:
How can I fix “Cannot perform a differential backup … a current database backup doesn't exist”?
How can I fix "Cannot perform a differential backup ... a current database backup doesn't exist"?
“Cannot perform a differential backup for database ”myDb“, because a current database backup does not exist.”
https://serverfault.com/questions/147459/
Quiesce operations and SQL backups https://nixx.ca/wiki/doku.php?id=vmware:quiesce_sql
Cannot perform a differential backup because current backup does not exist
https://sqlbackupandftp.com/blog/cannot-perform-a-differential-backup-database-current-database-backup-exist/
SQL differential backups failing after windows server backup https://social.msdn.microsoft.com/Forums/sqlserver/en-US/35080750-ad5d-4841-b2ba-e17ee5a799d5
SQL Server records a backup operation in the backupset history table when you use VSS to back up files on a volume https://support.microsoft.com/en-us/kb/951288
Error message when you try to restore a database by using SQL Server Management Studio in SQL Server 2005 after you use the Backup tool: "Restore failed for Server '' (Microsoft.SqlServer.Smo)" https://support.microsoft.com/en-us/kb/937683
It seems that there are two primary solutions to allow differential SQL backups on a server that does VSS backups.
1) On the full server backup, use COPY_ONLY if that is available.
2) Disable the "SQL Server VSS Writer" service.
Some full system backups using VSS record a backup to get SQL Server to pause long enough for a backup. This pause is recorded as if it were a backup but the file is never created.
In our case, disabling the SQL Server VSS Writer service seems to be the best approach. Since the database is not quiesced during the system backup, we assume that the database will not be in a valid state after a full system restore and we will have to restore our regular SQL Server backups at that time.
More information can be found at:
How can I fix “Cannot perform a differential backup … a current database backup doesn't exist”?
How can I fix "Cannot perform a differential backup ... a current database backup doesn't exist"?
“Cannot perform a differential backup for database ”myDb“, because a current database backup does not exist.”
https://serverfault.com/questions/147459/
Quiesce operations and SQL backups https://nixx.ca/wiki/doku.php?id=vmware:quiesce_sql
Cannot perform a differential backup because current backup does not exist
https://sqlbackupandftp.com/blog/cannot-perform-a-differential-backup-database-current-database-backup-exist/
SQL differential backups failing after windows server backup https://social.msdn.microsoft.com/Forums/sqlserver/en-US/35080750-ad5d-4841-b2ba-e17ee5a799d5
SQL Server records a backup operation in the backupset history table when you use VSS to back up files on a volume https://support.microsoft.com/en-us/kb/951288
Error message when you try to restore a database by using SQL Server Management Studio in SQL Server 2005 after you use the Backup tool: "Restore failed for Server '' (Microsoft.SqlServer.Smo)" https://support.microsoft.com/en-us/kb/937683
edited Apr 13 '17 at 12:43
Community♦
1
1
answered Dec 4 '16 at 16:14
Alien TechnologyAlien Technology
1163
1163
add a comment |
add a comment |
Thanks for contributing an answer to Database Administrators Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f154731%2fis-it-possible-to-use-tsql-differential-backups-on-a-system-that-uses-vss%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Why can't you do regular SQL backups or why can't they do it for you?
– Antoine Hernandez
Nov 9 '16 at 18:39
VSS backup as far as I know not breaks backups chains by resetting LSN its the snapshot backup. VSS backup also means backup by third party tools although snapshot backup also relies on VSS for backup
– Shanky
Nov 10 '16 at 5:51
@Antonine - We are doing regular SQL backups. A daily full then every couple of hours a differential. VSS backups can break the differential chain.
– Alien Technology
Dec 4 '16 at 15:09
@Shanky - I will find the URL and post here, but apparently VSS backups put the DB in a state as if they were going to do a backup so they can get a clean copy. This state resets the LSN.
– Alien Technology
Dec 4 '16 at 15:11
I can't find the write-up that I was looking for, but these pages describe the issue from different viewpoints: support.microsoft.com/en-us/kb/937683 support.microsoft.com/en-us/kb/951288 nixx.ca/wiki/doku.php?id=vmware:quiesce_sql
– Alien Technology
Dec 4 '16 at 16:02