🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #70614

Re: Gravity: command-line backup possible?

#70614
From: Seth Goodman
Date: Wed, 17 Jan 2001 02:38
42 lines
2421 bytes
In article <MPG.14ce8cffffd1230f98968a@news-server.socal.rr.com>, Steve 
Silverwood <kb6ojs@arrl.net> wrote:
> Is it possible to issue a set of parameters on the command line to 
> initiate a backup of Gravity 2.3?  Ideally, I'd like to have the ability 
> to put an item in the Scheduler to have backup come up each night around 
> 0100 and do a backup, with the backup program self-terminating.  
> Something like:
> 
> 	gravitybackup c:\gravity\backup\gbackup.grv /x
> 
> with the /x being the auto-exit.  Anything like this possible?


Yes.

From the Gravity Backup Readme file:



Using command-line parameters
-----------------------------

-b<filename>

If the -b command-line parameter is used, GravityBackup will
back up the Gravity database to the specified backup file and
exit.  BackupGravity will overwrite the specified file if it
exists.  BackupGravity returns a status code of 0 for success
and non-0 for error.

-r<filename>

If the -r command-line parameter is used, GravityBackup will
restore the Gravity database from the specified backup file and
exit.  BackupGravity returns a status code of 0 for success
and non-0 for error.

-- 
HTH,

Seth Goodman
Technical Details
Message-ID: <MPG.14cecd9bd18882139898fe@netnews.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!wn4feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail
References: <MPG.14ce8cffffd1230f98968a@news-server.socal.rr.com>

Show Full Headers
Complete Article Headers
Message-ID: <MPG.14cecd9bd18882139898fe@netnews.att.net>
Subject: Re: Gravity: command-line backup possible?
Date: Wed, 17 Jan 2001 02:38:06 GMT
From: Seth Goodman <sethgoodmanSPAM@ISBADatt.net>
References: <MPG.14ce8cffffd1230f98968a@news-server.socal.rr.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!wn4feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail
Newsgroups: alt.usenet.offline-reader,news.software.readers
X-Newsreader: MicroPlanet Gravity v2.30
X-PGP-Keys: http://sethgoodman.home.att.net/PGP_keys.html
Lines: 41
NNTP-Posting-Host: 12.79.214.96
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 979699086 12.79.214.96 (Wed, 17 Jan 2001 02:38:06 GMT)
NNTP-Posting-Date: Wed, 17 Jan 2001 02:38:06 GMT
Organization: AT&T Worldnet