dbTalk Databases Forums  

is these valid backup commands

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss is these valid backup commands in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Mangano
 
Posts: n/a

Default is these valid backup commands - 12-08-2009 , 04:04 PM






1) backup database directory 'c:\Monday\' wait before start
wait after end transaction log truncate

2) backup database directory 'c:\logs\18\' wait after end
transaction log only

Reply With Quote
  #2  
Old   
should say Are these valid backup commands
 
Posts: n/a

Default Re: is these valid backup commands - 12-08-2009 , 04:06 PM






Quote:
1) backup database directory 'c:\Monday\' wait before
start wait after end transaction log truncate

2) backup database directory 'c:\logs\18\' wait after end
transaction log only

Reply With Quote
  #3  
Old   
Breck Carter [TeamSybase]
 
Posts: n/a

Default Re: is these valid backup commands - 12-11-2009 , 08:27 AM



They look OK.

However... I've had bad experiences with the "wait" clauses, the
symptom being "wait forever" because some steenking connection remains
in progress. I'm of the opinion a backup should never ever wait,
backups are important. I also avoid truncate, choose rename instead,
then you keep everything... disk space is cheap, recovering your
sanity can be expensive.

Although it doesn't use the BACKUP statement (with VERY good reasons,
IMO), and it only does full backups, you might be interested in the
multi-generational technique shown in this blog entry...
http://sqlanywhere.blogspot.com/2009...revisited.html

Someday, I'll post a generic command file that includes incremental
log-only backups... someday

Breck



On 8 Dec 2009 14:04:19 -0800, Tom Mangano wrote:

Quote:
1) backup database directory 'c:\Monday\' wait before start
wait after end transaction log truncate

2) backup database directory 'c:\logs\18\' wait after end
transaction log only
--
Breck Carter - Blog: http://sqlanywhere.blogspot.com/

SQLA questions and answers: http://sqla.stackexchange.com

RisingRoad helps SQL Anywhere developers make better databases
http://www.risingroad.com/
Breck.Carter at gmail

Reply With Quote
  #4  
Old   
Volker Barth
 
Posts: n/a

Default Re: is these valid backup commands - 12-14-2009 , 06:50 AM



Breck Carter [TeamSybase] wrote:

Quote:
However... I've had bad experiences with the "wait" clauses, the
symptom being "wait forever" because some steenking connection remains
in progress. I'm of the opinion a backup should never ever wait,
backups are important. I also avoid truncate, choose rename instead,
then you keep everything... disk space is cheap, recovering your
sanity can be expensive.
Fully agreed - it's just nasty if your nightly backup hangs (i.e. is
waiting)...
Quote:
Although it doesn't use the BACKUP statement (with VERY good reasons,
IMO), and it only does full backups, you might be interested in the
multi-generational technique shown in this blog entry...
http://sqlanywhere.blogspot.com/2009...revisited.html

Someday, I'll post a generic command file that includes incremental
log-only backups... someday

Breck

Yeah, Breck, incremental development of incremental backup solutions -
seems appropriate

Volker

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.