Home Page link  

Automating backup in RMS

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Automating backup in RMS Larry Jenuwine 06-02-2005
  | ---> Re: Automating backup in RMS Andrewø Ý­ìŠÇ.²È¨žÉ¢rº,¡û\¢06-29-2005
Posted by Moe on June 7, 2005, 5:18 pm
Please log in for more thread options
Or just create a .bat file with notepad and include the following:

OSQL -U sa -P dakota -S HomeOffice -q "RESTORE DATABASE horsin_around
FROM DISK = 'H:horsin_around.bck' WITH REPLACE, STATS = 5"

Of course change the parameters to match your system and database name.

Rob wrote:
> Mark,
>
> This is from the Store Operations Adminstrator Online Help - Restoring a
> database'.
> 1. On the Database menu, click Create. The Create Database Wizard
> appears.
>
> 2. On the Welcome screen, click Next.
>
> 3. In the Database Name box, enter the name of the database you are
> creating.
>
> 4. In the Initial Size (MB) box, enter the amount of space, in
> megabytes (MB), to allocate on that device for the database, and then click
> Next.
>
> 5. Specify how the database file should grow, and then click Next. In
> most cases, you can accept the defaults.
>
> 6. Click the Browse icon to locate the backup file.
>
> 7. On the Open window, select the backup file from which you want to
> restore. The backup file should have *.bck as the file extension. Then click
> Open.
>
> 8. On the wizard screen, click Next.
>
> 9. To create the new database with the information from the backup
> file, click Finish.
>
> 10. Store Operations should notify you that the restore is complete. Click
> OK.
>
>
> Rob
>
> > Rob, I have my backup working now based on your instructions, but now my
> > stupid question is if I have a need to do a restore from this backup how
> > do
> > do that? I want to be prepared.
> >
> > Thanks
> >
> > "Rob" wrote:
> >
> >> 1.. In Notepad, paste the following text in the new batch file:
> >>
> >>
> >> osql -U sa -P -S server name -Q "BACKUP DATABASE database name TO DISK =
> >> 'e:backupback1.bck'"a.. If you have a password for the system
> >> administrator user, you must enter the password after the -P parameter.
> >> For
> >> example, insert -P password.
> >> b.. Replace server name with the name of your server. You can see the
> >> name of your server in the SQL Server Service Manager.
> >> c.. Replace database name with the actual name of your Store
> >> Operations
> >> database or Headquarters database.
> >> d.. Replace e:backupback1.bck with the actual path of the drive and
> >> the directory where you want to save the backup and the actual name that
> >> you
> >> want for the backup file.
> >> 2.. Save the file.
> >> 3.. Click Start, point to All Programs, point to Accessories, point to
> >> System Tools, and then click Scheduled Tasks.
> >>
> >> Use Task Scheduler to run your batch file from the server. See Windows
> >> Help for more information about how to set up and how to run Task
> >> Scheduler.
> >> Important Every time that you use Task Scheduler to run your batch file,
> >> the
> >> backup file name that the batch file generates is the same file name that
> >> you entered for the path and file name when you created the batch file.
> >> Therefore, if you want to maintain a series of backup files, use one of
> >> the
> >> following methods before or after you run the backup:
> >>
> >> a.. Move the backup file to another location.
> >> b.. Rename the backup file.
> >> Otherwise, the backup file will be appended every time that you use Task
> >> Scheduler to run the batch file. This may make the backup file unusable.
> >>
> >>
> >> > root - what would the command line need to be in the .bat file to
> >> > initiate
> >> > the backup process?
> >> >
> >> > thanks,
> >> > kevin
> >> >
> >> > "root" wrote:
> >> >
> >> >> Larry,
> >> >>
> >> >> You can do a .bat file and schedule it to run in the scheduled tasks
> >> >> OR
> >> >> you
> >> >> can download the SQL trial and only install the Enterprise Manager
> >> >> part.
> >> >> Enterprise Manager will give you the GUI for MSDE and enable you to do
> >> >> a
> >> >> scheduled maintenance plan with backup, shrink, and other tasks...
> >> >>
> >> >>
> >> >>
> >> >> message
> >> >> > Does anyone have an easy solution for automatically backing up the
> >> >> > database
> >> >> > for RMS? Our clerks seem to be unable to remember to do it daily.
> >> >> >
> >> >> > Thanks for any help.
> >> >> >
> >> >> > Larry
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>



Posted by Andrewø Ý­ìŠÇ.²È¨žÉ¢rº,¡û\¢ on June 29, 2005, 12:16 pm
Please log in for more thread options
Based off of all of the great ideas here, I created a small .bat file to
backup the database with a 3 day alternating backup scheme and copying the
database to a backroom computer as well, providing some redudant storage.

I just schedule it as a task to run at a certain time on the backroom
computer (right after closing time) and it keeps the last three backups
automatically. To tell what date the backup was made, just look at the file
info and look at the timestamp. So far seems to work well.

Just replace the database name as well as the computer names/backup
directories with what you you need (making sure the directory you're trying
to save to is shared on the network).

BATCH FILE START:

::RMS Auto-backup with redundant storage

:: Checks if the other backups exist on ONE (main server) and renames them,
deleting the oldest backup
IF EXIST \ONEcRMSBackupsRMSbackup3.bck DEL
\ONEcRMSBackupsRMSbackup3.bck
IF EXIST \ONEcRMSBackupsRMSbackup2.bck REN
\ONEcRMSBackupsRMSbackup2.bck RMSbackup3.bck
IF EXIST \ONEcRMSBackupsRMSbackup1.bck REN
\ONEcRMSBackupsRMSbackup1.bck RMSbackup2.bck

:: Creates the newest backup on ONE (main server) from SQL query
OSQL -U sa -P 4050 -S one -Q "BACKUP DATABASE [61604] TO DISK =
'\ONEcRMSBackupsRMSbackup1.bck'"

:: Checks if the other backups exist on Backroom (redundant storage) and
renames them, deleting the oldest backup
IF EXIST "\BackroomC on BackofficeRMSBackupsRMSbackup3.bck" DEL
"\BackroomC on BackofficeRMSBackupsRMSbackup3.bck"
IF EXIST "\BackroomC on BackofficeRMSBackupsRMSbackup2.bck" REN
"\BackroomC on BackofficeRMSBackupsRMSbackup2.bck" RMSbackup3.bck
IF EXIST "\BackroomC on BackofficeRMSBackupsRMSbackup1.bck" REN
"\BackroomC on BackofficeRMSBackupsRMSbackup1.bck" RMSbackup2.bck

:: Copies the newest backup from ONE (main server) to Backroom (redundant
storage)
COPY /Y \ONEcRMSBackupsRMSbackup1.bck "\BackroomC on
BackofficeRMSBackupsRMSbackup1.bck"

END OF BATCH FILE:

Also, you could just use the first half which calls the sql and have it run
as a task on your register machine, which would prevent the need for the
backroom computer to be on in order for the backup to initiate.

Don't know if it's useful to anyone else or not, but there it is.

~Andrew Reinartz
Wayne & Mary's Nutrition Center

"Moe" wrote:

> Or just create a .bat file with notepad and include the following:
>
> OSQL -U sa -P dakota -S HomeOffice -q "RESTORE DATABASE horsin_around
> FROM DISK = 'H:horsin_around.bck' WITH REPLACE, STATS = 5"
>
> Of course change the parameters to match your system and database name.
>
> Rob wrote:
> > Mark,
> >
> > This is from the Store Operations Adminstrator Online Help - Restoring a
> > database'.
> > 1. On the Database menu, click Create. The Create Database Wizard
> > appears.
> >
> > 2. On the Welcome screen, click Next.
> >
> > 3. In the Database Name box, enter the name of the database you are
> > creating.
> >
> > 4. In the Initial Size (MB) box, enter the amount of space, in
> > megabytes (MB), to allocate on that device for the database, and then click
> > Next.
> >
> > 5. Specify how the database file should grow, and then click Next. In
> > most cases, you can accept the defaults.
> >
> > 6. Click the Browse icon to locate the backup file.
> >
> > 7. On the Open window, select the backup file from which you want to
> > restore. The backup file should have *.bck as the file extension. Then click
> > Open.
> >
> > 8. On the wizard screen, click Next.
> >
> > 9. To create the new database with the information from the backup
> > file, click Finish.
> >
> > 10. Store Operations should notify you that the restore is complete. Click
> > OK.
> >
> >
> > Rob
> >
> > > Rob, I have my backup working now based on your instructions, but now my
> > > stupid question is if I have a need to do a restore from this backup how
> > > do
> > > do that? I want to be prepared.
> > >
> > > Thanks
> > >
> > > "Rob" wrote:
> > >
> > >> 1.. In Notepad, paste the following text in the new batch file:
> > >>
> > >>
> > >> osql -U sa -P -S server name -Q "BACKUP DATABASE database name TO DISK =
> > >> 'e:backupback1.bck'"a.. If you have a password for the system
> > >> administrator user, you must enter the password after the -P parameter.
> > >> For
> > >> example, insert -P password.
> > >> b.. Replace server name with the name of your server. You can see the
> > >> name of your server in the SQL Server Service Manager.
> > >> c.. Replace database name with the actual name of your Store
> > >> Operations
> > >> database or Headquarters database.
> > >> d.. Replace e:backupback1.bck with the actual path of the drive and
> > >> the directory where you want to save the backup and the actual name that
> > >> you
> > >> want for the backup file.
> > >> 2.. Save the file.
> > >> 3.. Click Start, point to All Programs, point to Accessories, point to
> > >> System Tools, and then click Scheduled Tasks.
> > >>
> > >> Use Task Scheduler to run your batch file from the server. See Windows
> > >> Help for more information about how to set up and how to run Task
> > >> Scheduler.
> > >> Important Every time that you use Task Scheduler to run your batch file,
> > >> the
> > >> backup file name that the batch file generates is the same file name that
> > >> you entered for the path and file name when you created the batch file.
> > >> Therefore, if you want to maintain a series of backup files, use one of
> > >> the
> > >> following methods before or after you run the backup:
> > >>
> > >> a.. Move the backup file to another location.
> > >> b.. Rename the backup file.
> > >> Otherwise, the backup file will be appended every time that you use Task
> > >> Scheduler to run the batch file. This may make the backup file unusable.
> > >>
> > >>
> > >> > root - what would the command line need to be in the .bat file to
> > >> > initiate
> > >> > the backup process?
> > >> >
> > >> > thanks,
> > >> > kevin
> > >> >
> > >> > "root" wrote:
> > >> >
> > >> >> Larry,
> > >> >>
> > >> >> You can do a .bat file and schedule it to run in the scheduled tasks
> > >> >> OR
> > >> >> you
> > >> >> can download the SQL trial and only install the Enterprise Manager
> > >> >> part.
> > >> >> Enterprise Manager will give you the GUI for MSDE and enable you to do
> > >> >> a
> > >> >> scheduled maintenance plan with backup, shrink, and other tasks...
> > >> >>
> > >> >>
> > >> >>
> > >> >> message
> > >> >> > Does anyone have an easy solution for automatically backing up the
> > >> >> > database
> > >> >> > for RMS? Our clerks seem to be unable to remember to do it daily.
> > >> >> >
> > >> >> > Thanks for any help.
> > >> >> >
> > >> >> > Larry
> > >> >>
> > >> >>
> > >> >>
> > >>
> > >>
> > >>
>
>


Posted by Andy Miller - T on September 11, 2006, 3:05 pm
Please log in for more thread options
I've been running backup scripts very similar to these RMS Store Ops
scripts... However, they do not work for Microsoft POS. Does anyone know
what batch code to use to auto backup a Microsoft POS database?

this is what I am currently using... (works fine with RMS Store Ops)
del C:BACKUPFriday_POS.bck
osql -U sa -P -Q "BACKUP DATABASE StoreDB TO DISK='C:BACKUPFriday_POS.bck'"
xcopy c:BACKUPFriday_POS.bck "\BackOfficeBACKUP" /Y

this is what it says when i try to run this script using Microsoft POS
[SHared memory]SQL Server does not exist or access denied.
[Shared Memory]ConnectionOpen (Connect()).

"Rob" wrote:

> 1.. In Notepad, paste the following text in the new batch file:
>
>
> osql -U sa -P -S server name -Q "BACKUP DATABASE database name TO DISK =
> 'e:backupback1.bck'"a.. If you have a password for the system
> administrator user, you must enter the password after the -P parameter. For
> example, insert -P password.
> b.. Replace server name with the name of your server. You can see the
> name of your server in the SQL Server Service Manager.
> c.. Replace database name with the actual name of your Store Operations
> database or Headquarters database.
> d.. Replace e:backupback1.bck with the actual path of the drive and
> the directory where you want to save the backup and the actual name that you
> want for the backup file.
> 2.. Save the file.
> 3.. Click Start, point to All Programs, point to Accessories, point to
> System Tools, and then click Scheduled Tasks.
>
> Use Task Scheduler to run your batch file from the server. See Windows
> Help for more information about how to set up and how to run Task Scheduler.
> Important Every time that you use Task Scheduler to run your batch file, the
> backup file name that the batch file generates is the same file name that
> you entered for the path and file name when you created the batch file.
> Therefore, if you want to maintain a series of backup files, use one of the
> following methods before or after you run the backup:
>
> a.. Move the backup file to another location.
> b.. Rename the backup file.
> Otherwise, the backup file will be appended every time that you use Task
> Scheduler to run the batch file. This may make the backup file unusable.
>
>
> > root - what would the command line need to be in the .bat file to initiate
> > the backup process?
> >
> > thanks,
> > kevin
> >
> > "root" wrote:
> >
> >> Larry,
> >>
> >> You can do a .bat file and schedule it to run in the scheduled tasks OR
> >> you
> >> can download the SQL trial and only install the Enterprise Manager part.
> >> Enterprise Manager will give you the GUI for MSDE and enable you to do a
> >> scheduled maintenance plan with backup, shrink, and other tasks...
> >>
> >>
> >>
> >> message
> >> > Does anyone have an easy solution for automatically backing up the
> >> > database
> >> > for RMS? Our clerks seem to be unable to remember to do it daily.
> >> >
> >> > Thanks for any help.
> >> >
> >> > Larry
> >>
> >>
> >>
>
>
>

Posted by Jeff on September 11, 2006, 5:04 pm
Please log in for more thread options
: quoted-printable

Andy,

Haven't played too much with MSPOS, but I do know that it installs a =
MSDE Instance, I've forgotten what its called (MSPOSIntance, maybe) that =
you probably need to reference. RMS uses the default instance (not =
named).

Change to something like;

osql -U sa -P -S (servernameinstancename) -Q "BACKUP DATABASE StoreDB =
TO DISK=3D'C:BACKUPFriday_POS.bck'

You could use .instancename also.

I _think_ you can just move your mouse over the SQL service icon in the =
system tray to find the servernameinstancename


Also, I see you didn't enter a password after the -P. I hope that was a =
mistake and that you _are_ using a password for your SQL Server for =
security reasons.

--=20
*
Get Secure! - www.microsoft.com/security

You must be using Outlook Express or some other type of newsgroup reader =
to
see and download the file attachment. If you are not using a reader, =
follow
the link below to setup Outlook Express. Click on "Open with =
newsreader"
under the MS Retail Management System on the right.

http://tinyurl.com/75bgz

**********

"Andy Miller - Teknor, Inc." =
I've been running backup scripts very similar to these RMS Store Ops=20
scripts... However, they do not work for Microsoft POS. Does anyone =
know=20
what batch code to use to auto backup a Microsoft POS database?

this is what I am currently using... (works fine with RMS Store Ops)
del C:BACKUPFriday_POS.bck
osql -U sa -P -Q "BACKUP DATABASE StoreDB TO =
DISK=3D'C:BACKUPFriday_POS.bck'"
xcopy c:BACKUPFriday_POS.bck "\BackOfficeBACKUP" /Y

this is what it says when i try to run this script using Microsoft POS
[SHared memory]SQL Server does not exist or access denied.
[Shared Memory]ConnectionOpen (Connect()).

"Rob" wrote:

> 1.. In Notepad, paste the following text in the new batch file:
>=20
>=20
> osql -U sa -P -S server name -Q "BACKUP DATABASE database name TO =
DISK =3D=20
> 'e:backupback1.bck'"a.. If you have a password for the system=20
> administrator user, you must enter the password after the -P =
parameter. For=20
> example, insert -P password.
> b.. Replace server name with the name of your server. You can =
see the=20
> name of your server in the SQL Server Service Manager.
> c.. Replace database name with the actual name of your Store =
Operations=20
> database or Headquarters database.
> d.. Replace e:backupback1.bck with the actual path of the =
drive and=20
> the directory where you want to save the backup and the actual name =
that you=20
> want for the backup file.
> 2.. Save the file.
> 3.. Click Start, point to All Programs, point to Accessories, =
point to=20
> System Tools, and then click Scheduled Tasks.
>=20
> Use Task Scheduler to run your batch file from the server. See =
Windows=20
> Help for more information about how to set up and how to run Task =
Scheduler.
> Important Every time that you use Task Scheduler to run your batch =
file, the=20
> backup file name that the batch file generates is the same file name =
that=20
> you entered for the path and file name when you created the batch =
file.=20
> Therefore, if you want to maintain a series of backup files, use one =
of the=20
> following methods before or after you run the backup:
>=20
> a.. Move the backup file to another location.
> b.. Rename the backup file.
> Otherwise, the backup file will be appended every time that you use =
Task=20
> Scheduler to run the batch file. This may make the backup file =
unusable.
>=20
>=20
> > root - what would the command line need to be in the .bat file to =
initiate
> > the backup process?
> >
> > thanks,
> > kevin
> >
> > "root" wrote:
> >
> >> Larry,
> >>
> >> You can do a .bat file and schedule it to run in the scheduled =
tasks OR=20
> >> you
> >> can download the SQL trial and only install the Enterprise =
Manager part.
> >> Enterprise Manager will give you the GUI for MSDE and enable you =
to do a
> >> scheduled maintenance plan with backup, shrink, and other =
tasks...
> >>
> >>
> >>
in=20
> >> message
> >> > Does anyone have an easy solution for automatically backing up =
the
> >> > database
> >> > for RMS? Our clerks seem to be unable to remember to do it =
daily.
> >> >
> >> > Thanks for any help.
> >> >
> >> > Larry
> >>
> >>
> >>=20
>=20
>=20
>
------=_NextPart_000_0449_01C6D5AB.2E8CEF70
Content-Type: text/html;
        charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#008000>Andy,</FONT></DIV>
<DIV><FONT color=3D#008000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#008000>Haven't played too much with MSPOS, but I do =
know that=20
it installs a MSDE Instance, I've forgotten what its called =
(MSPOSIntance,=20
maybe) that you probably need to reference.&nbsp; RMS uses the default =
instance=20
(not named).</FONT></DIV>
<DIV><FONT color=3D#008000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#008000>Change to something like;</FONT></DIV>
<DIV><FONT color=3D#008000></FONT>&nbsp;</DIV>
<DIV>osql -U sa -P -S (servernameinstancename) &nbsp;-Q "BACKUP =
DATABASE=20
StoreDB TO DISK=3D'C:BACKUPFriday_POS.bck'</DIV>
<DIV><FONT color=3D#008000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#008000>You could use .instancename =
also.</FONT></DIV>
<DIV><FONT color=3D#008000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#008000>I _think_ you can just move your mouse over =
the SQL=20
service icon in the system tray to find the =
servernameinstancename</FONT></DIV>
<DIV><FONT color=3D#008000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#008000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#008000>Also, I see you didn't enter a password after =
the=20
-P.&nbsp; I hope that was a mistake and that you _are_ using a password =
for your=20
SQL Server for security reasons.</FONT></DIV>
<DIV><BR>-- <BR>*<BR>Get Secure! - <A=20
href=3D"http://www.microsoft.com/security">www.microsoft.com/security</A>=
</DIV>
<DIV>&nbsp;</DIV>
<DIV>You must be using Outlook Express or some other type of newsgroup =
reader=20
to<BR>see and download the file attachment.&nbsp; If you are not using a =
reader,=20
follow<BR>the link below to setup Outlook Express.&nbsp; Click on "Open =
with=20
newsreader"<BR>under the MS Retail Management System on the right.</DIV>
<DIV>&nbsp;</DIV>
<DIV><A =
href=3D"http://tinyurl.com/75bgz">http://tinyurl.com/75bgz</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>**********<BR></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #008000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Andy Miller - Teknor, Inc." &lt;<A=20
=
eknorInc@discussions.microsoft.com</A>&gt;=20
wrote in message <A=20
=
FB34D-6004-4416-87F3-9C0FB2AA1BAA@microsoft.com</A>...</DIV>I've=20
been running backup scripts very similar to these RMS Store Ops =
<BR>scripts...=20
However, they do not work for Microsoft POS.&nbsp; Does anyone know =
<BR>what=20
batch code to use to auto backup a Microsoft POS database?<BR><BR>this =
is what=20
I am currently using... (works fine with RMS Store Ops)<BR>del=20
C:BACKUPFriday_POS.bck<BR>osql -U sa -P -Q "BACKUP DATABASE StoreDB =
TO=20
DISK=3D'C:BACKUPFriday_POS.bck'"<BR>xcopy c:BACKUPFriday_POS.bck =
"<A=20
href=3D"file://\BackOfficeBACKUP">\BackOfficeBACKUP</A>" =
/Y<BR><BR>this is=20
what it says when i try to run this script using Microsoft =
POS<BR>[SHared=20
memory]SQL Server does not exist or access denied.<BR>[Shared=20
Memory]ConnectionOpen (Connect()).<BR><BR>"Rob" =
wrote:<BR><BR>&gt;&nbsp;&nbsp;=20
1.. In Notepad, paste the following text in the new batch =
file:<BR>&gt;=20
<BR>&gt; <BR>&gt; osql -U sa -P -S server name -Q "BACKUP DATABASE =
database=20
name TO DISK =3D <BR>&gt; 'e:backupback1.bck'"a.. If you have a =
password for=20
the system <BR>&gt; administrator user, you must enter the password =
after the=20
-P parameter. For <BR>&gt; example, insert -P=20
password.<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; b.. Replace server name with =
the=20
name of your server. You can see the <BR>&gt; name of your server in =
the SQL=20
Server Service Manager.<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; c.. Replace =
database=20
name with the actual name of your Store Operations <BR>&gt; database =
or=20
Headquarters database.<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; d.. Replace=20
e:backupback1.bck with the actual path of the drive and <BR>&gt; the =

directory where you want to save the backup and the actual name that =
you=20
<BR>&gt; want for the backup file.<BR>&gt;&nbsp;&nbsp; 2.. Save the=20
file.<BR>&gt;&nbsp;&nbsp; 3.. Click Start, point to All Programs, =
point to=20
Accessories, point to <BR>&gt; System Tools, and then click Scheduled=20
Tasks.<BR>&gt; <BR>&gt;&nbsp;&nbsp; Use Task Scheduler to run your =
batch file=20
from the server. See Windows <BR>&gt; Help for more information about =
how to=20
set up and how to run Task Scheduler.<BR>&gt; Important Every time =
that you=20
use Task Scheduler to run your batch file, the <BR>&gt; backup file =
name that=20
the batch file generates is the same file name that <BR>&gt; you =
entered for=20
the path and file name when you created the batch file. <BR>&gt; =
Therefore, if=20
you want to maintain a series of backup files, use one of the <BR>&gt; =

following methods before or after you run the backup:<BR>&gt;=20
<BR>&gt;&nbsp;&nbsp; a.. Move the backup file to another=20
location.<BR>&gt;&nbsp;&nbsp; b.. Rename the backup file.<BR>&gt; =
Otherwise,=20
the backup file will be appended every time that you use Task <BR>&gt; =

Scheduler to run the batch file. This may make the backup file=20
unusable.<BR>&gt; <BR>&gt; "kskinne" &lt;<A=20
=
rosoft.com</A>&gt;=20
wrote in message <BR>&gt; <A=20
=
FA011-B61E-44A9-9216-AAB9C0376803@microsoft.com</A>...<BR>&gt;=20
<BR>&gt; &gt; root - what would the command line need to be in the =
.bat file=20
to initiate<BR>&gt; &gt; the backup process?<BR>&gt; &gt;<BR>&gt; &gt; =

thanks,<BR>&gt; &gt; kevin<BR>&gt; &gt;<BR>&gt; &gt; "root" =
wrote:<BR>&gt;=20
&gt;<BR>&gt; &gt;&gt; Larry,<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; You can =
do a=20
.bat file and schedule it to run in the scheduled tasks OR <BR>&gt; =
&gt;&gt;=20
you<BR>&gt; &gt;&gt; can download the SQL trial and only install the=20
Enterprise Manager part.<BR>&gt; &gt;&gt; Enterprise Manager will give =
you the=20
GUI for MSDE and enable you to do a<BR>&gt; &gt;&gt; scheduled =
maintenance=20
plan with backup, shrink, and other tasks...<BR>&gt; &gt;&gt;<BR>&gt;=20
&gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; "Larry Jenuwine" &lt;<A=20
=
cussions.microsoft.com</A>&gt;=20
wrote in <BR>&gt; &gt;&gt; message<BR>&gt; &gt;&gt; <A=20
=
40F1B-3B0A-445A-B641-03D2487A7180@microsoft.com</A>...<BR>&gt;=20
&gt;&gt; &gt; Does anyone have an easy solution for automatically =
backing up=20
the<BR>&gt; &gt;&gt; &gt; database<BR>&gt; &gt;&gt; &gt; for =
RMS?&nbsp; Our=20
clerks seem to be unable to remember to do it daily.<BR>&gt; &gt;&gt;=20
&gt;<BR>&gt; &gt;&gt; &gt; Thanks for any help.<BR>&gt; &gt;&gt; =
&gt;<BR>&gt;=20
&gt;&gt; &gt; Larry<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; =

<BR>&gt; <BR>&gt; <BR>&gt;</BLOCKQUOTE></BODY></HTML>

------=
Posted by Jason on September 24, 2006, 5:23 pm
Please log in for more thread options
Let's take it another step. How an I compress the backup file to a .zip file
using the command line to save space and make it faster to copy over a VPN?

Jason


Similar ThreadsPosted
Automating HQ Worksheets March 8, 2006, 2:37 pm
Automating a report April 15, 2008, 11:18 am
Automating the Reindex HQ database March 24, 2008, 12:21 pm
Automating Multiple Sales Processes June 5, 2008, 2:29 am
DB Backup with date & timestamp in the backup name March 15, 2006, 9:16 pm
Why is SQL Server Backup 4x Larger than RMS Backup? August 23, 2009, 12:45 am
Backup RMS to CD November 21, 2006, 10:59 am
backup for SO April 25, 2007, 2:09 am
Do Transaction during Backup June 12, 2005, 11:30 pm
RMS 1.2 Database Backup August 28, 2005, 6:58 am

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap