🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Steve Silverwood Fri, 12 Dec 2003 10:01
[Gravity] Backup >2Gb fails
#139108
Author: Steve Silverwood
Date: Fri, 12 Dec 2003 10:01
16 lines
1847 bytes
Any way around the current limitation?  If I back up my Gravity system 
using gravitybackup.exe, and the total size of the backup exceeds two 
gigs, the backup will inevitably fail.  I keep a large database of 
messages in Gravity for reference, especially the stuff from the 
Microsoft news groups, and would hate to have to go thru and do a purge 
every time I want to do a backup.

Thanks in advance.

-- 

-- //Steve//

Steve Silverwood, KB6OJS
Fountain Valley, CA
Email: kb6ojs@arrl.net
Re: [Gravity] Backup >2Gb fails
#139165
Author: Tom B.
Date: Sat, 13 Dec 2003 00:47
43 lines
2960 bytes
Steve Silverwood wrote ....

> Any way around the current limitation?  If I back up my Gravity system 
> using gravitybackup.exe, and the total size of the backup exceeds two 
> gigs, the backup will inevitably fail.  I keep a large database of 
> messages in Gravity for reference, especially the stuff from the 
> Microsoft news groups, and would hate to have to go thru and do a purge 
> every time I want to do a backup.
> 
If you have a few gigs to spare I wonder if you could back up the 
database files by copying the directories to another location. Xcopy 
works well for this.

I use a batch file with xcopy to backup my html and other stuff to a 
second hard drive with entries like this:

xcopy E:\html D:\backups\backups\html /E /D
xcopy E:\documents\important.txt D:\backups\backups\important /D

I add an entry to the Windows scheduler so that it runs the batch 
file automatically at a certain time every day and I rarely have to 
mess with it.

If you aren't familar with xcopy the /E is recursive through all 
directories.

The /D means copy only if the subject file has changed from the 
target. The only downside is that xcopy won't check for old 
nonexistant stuff so every now and then I delete everyting in 
D:\backups\backups\html and run the batchfile manually. 

To see all xcopy options type xcopy /?

You could also export the whole Gravity registry key manually, but 
you wouldn't have to do it all the time, just every now and then, or 
if your configuration changes. If you save the exported key to your 
Gravity folder xcopy will copy that too.

-- 
Tom B.   * * * Gravity Web Pages  * * *
http://lightning.prohosting.com/~tbates/gravity/
http://gravity.tbates.org/
http://mpgravity.sourceforge.net/
Re: [Gravity] Backup >2Gb fails
#139320
Author: Steve Silverwood
Date: Mon, 15 Dec 2003 09:06
77 lines
4608 bytes
In article <MPG.1a442babb65b325c989765@news.cis.dfn.de>, nfn03862
@naples.net says...
> Steve Silverwood wrote ....
> 
> > Any way around the current limitation?  If I back up my Gravity system 
> > using gravitybackup.exe, and the total size of the backup exceeds two 
> > gigs, the backup will inevitably fail.  I keep a large database of 
> > messages in Gravity for reference, especially the stuff from the 
> > Microsoft news groups, and would hate to have to go thru and do a purge 
> > every time I want to do a backup.
> > 
> If you have a few gigs to spare I wonder if you could back up the 
> database files by copying the directories to another location. Xcopy 
> works well for this.
> 
> I use a batch file with xcopy to backup my html and other stuff to a 
> second hard drive with entries like this:
> 
> xcopy E:\html D:\backups\backups\html /E /D
> xcopy E:\documents\important.txt D:\backups\backups\important /D
> 
> I add an entry to the Windows scheduler so that it runs the batch 
> file automatically at a certain time every day and I rarely have to 
> mess with it.
> 
> If you aren't familar with xcopy the /E is recursive through all 
> directories.
> 
> The /D means copy only if the subject file has changed from the 
> target. The only downside is that xcopy won't check for old 
> nonexistant stuff so every now and then I delete everyting in 
> D:\backups\backups\html and run the batchfile manually. 
> 
> To see all xcopy options type xcopy /?
> 
> You could also export the whole Gravity registry key manually, but 
> you wouldn't have to do it all the time, just every now and then, or 
> if your configuration changes. If you save the exported key to your 
> Gravity folder xcopy will copy that too.

Backing up the data files using your method is a possibility, but the 
registry information in Gravity contains some necessary data about the 
newsgroups and has to be backed up as well -- each time the data is 
backed up, the registry information should also be backed up.  I like 
the GravityBackup utility because I can invoke it via a batch file:
-=-=-
REM Batch file from TCMD:
@echo off
pushd
cdd "c:\gravity\backup"
set gbfile=%_year
set gbfile=%gbfile%-%@IF[%@LEN[%_month]=1,0%_month,%_month]
set gbfile=%gbfile%-%@IF[%@LEN[%_day]=1,0%_day,%_day]
set gbfile=%gbfile%_%@INSTR[0,2,%_time]
set gbfile=%gbfile%%@INSTR[3,2,%_time]
start /HIGH ..\gravitybackup -bGravityBackup%gbfile%.grv
set gbfile=
popd
-=-=-
(Note that there are several commands/functions in here that will not 
work the same -- or at all -- in the regular command window, they are 
specific to TCMD32.)

I just registered Genie Backup Manager so I will see if there is a 
possibility to use that program to back up the data files and the 
registry entries.  Might also be something in Veritas Backup that could 
function, but I was hoping to be able to do it using the existing 
GravityBackup program.

Thanks for the suggestion, though.
-- 

-- //Steve//

Steve Silverwood, KB6OJS
Fountain Valley, CA
Email: kb6ojs@arrl.net
Re: [Gravity] Backup >2Gb fails
#139335
Author: Tom B.
Date: Mon, 15 Dec 2003 12:30
34 lines
2465 bytes
Steve Silverwood wrote  ...

[snip]

> Backing up the data files using your method is a possibility, but the 
> registry information in Gravity contains some necessary data about the 
> newsgroups and has to be backed up as well -- each time the data is 
> backed up, the registry information should also be backed up.  I like 
> the GravityBackup utility because I can invoke it via a batch file:

I agree the backup program would make it much easier.

The registry doesn't contain much about the groups. IMO it is far 
more likely you will lose data from a corrupt group database. The 
registry stuff only needs to be saved if you change your 
configuration. 

BTW,

It seems you can use regedit in a batchfile

regedit.exe [options] [filename] [regpath] 

/e [filename] [regpath] Export the registry to [filename] starting 
at [regpath]

e.g. regedit /e file.reg HKEY_USERS\.DEFAULT


-- 
Tom B.   * * * Gravity Web Pages  * * *
http://lightning.prohosting.com/~tbates/gravity/
http://gravity.tbates.org/
http://mpgravity.sourceforge.net/
Re: [Gravity] Backup >2Gb fails
#139349
Author: John Thompson
Date: Mon, 15 Dec 2003 18:06
19 lines
2396 bytes
["Followup-To:" header set to alt.usenet.offline-reader.]

On 2003-12-12, Steve Silverwood <kb6ojs@arrl.net> wrote:
> Any way around the current limitation?  If I back up my Gravity system 
> using gravitybackup.exe, and the total size of the backup exceeds two 
> gigs, the backup will inevitably fail.  I keep a large database of 
> messages in Gravity for reference, especially the stuff from the 
> Microsoft news groups, and would hate to have to go thru and do a purge 
> every time I want to do a backup.

What type of filesystem are you using (ie, FAT16, FAT32, NTFS, something 
else)? FAT filesystems have a 2GB file size limitation.  AFAIK, the only 
way around this is to use a filesystem or device not subject to this 
limit.  If you have an NTFS filesystem, you could but the backup on there, 
or you could backup to a tape device instead of a disk drive.

-- 

-John (JohnThompson@new.rr.com)
Re: [Gravity] Backup >2Gb fails
#139371
Author: Steve Silverwood
Date: Tue, 16 Dec 2003 01:40
24 lines
2422 bytes
In article <slrnbtrquo.4tm.john@starfleet.os2.dhs.org>, 
john@starfleet.os2.dhs.org says...
> > Any way around the current limitation?  If I back up my Gravity system 
> > using gravitybackup.exe, and the total size of the backup exceeds two 
> > gigs, the backup will inevitably fail.  I keep a large database of 
> > messages in Gravity for reference, especially the stuff from the 
> > Microsoft news groups, and would hate to have to go thru and do a purge 
> > every time I want to do a backup.
> 
> What type of filesystem are you using (ie, FAT16, FAT32, NTFS, something 
> else)? FAT filesystems have a 2GB file size limitation.  AFAIK, the only 
> way around this is to use a filesystem or device not subject to this 
> limit.  If you have an NTFS filesystem, you could but the backup on there, 
> or you could backup to a tape device instead of a disk drive.

I'm using NTFS, limitation still persists.

-- 

-- //Steve//

Steve Silverwood, KB6OJS
Fountain Valley, CA
Email: kb6ojs@arrl.net
Re: [Gravity] Backup >2Gb fails
#139380
Author: John Thompson
Date: Tue, 16 Dec 2003 06:06
21 lines
2170 bytes
["Followup-To:" header set to alt.usenet.offline-reader.]

On 2003-12-16, Steve Silverwood <kb6ojs@arrl.net> wrote:

> john@starfleet.os2.dhs.org says...
>> 
>> What type of filesystem are you using (ie, FAT16, FAT32, NTFS, something 
>> else)? FAT filesystems have a 2GB file size limitation.  AFAIK, the only 
>> way around this is to use a filesystem or device not subject to this 
>> limit.  If you have an NTFS filesystem, you could put the backup on 
>> there,  or you could backup to a tape device instead of a disk drive.

> I'm using NTFS, limitation still persists.

Bummer.  That probably means that Gravity was compiled using a compiler 
that doesn't support >2GB file sizes.


-- 

-John (JohnThompson@new.rr.com)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads