Replicating Generation Data Groups on W7

jimbo45

New member
Guru
VIP
Local time
10:57 PM
Messages
5,941
Location
Hafnarfjörður IS
Hi all
Going back to my mainframe days it was possible to store previous versions of a file very simply by what was knows as a GDG or Generation Data Group.

For example you had file A. the current version was known as FILE A(0).
If you create a NEW version then you would write to FILE A(+1), or if you wanted to access the previous version this would be FILE A(-1). You could define how many levels you wanted.

When you deleted the oldest version FILE A(+1) becomes the Current version FILE A(0) and so on.

Anybody got any software for simply replicating this type of stuff --- I'm getting so many backups that it is almost a job in itself keeping a decent track on everything - conventional cataloging software doesn't seem to be very good at this.

This old Mainframe system was EXCELLENT and was available from the early 70's or even before - but we don't seem to have anything like this on modern computers.

How do most I.T depts organise caraloguing their backups or is it genearlly "Panic Stations" when something needs to be restored.

Cheers
jimbo
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
Why not use SAN, Jim? SAN has that capability IIRC, it called SNAPSHOTS, and it works at block level. The downside would be you need to setup an independent storage machine to run this software. In Linux you can build SAN your self, use RAID + LVM, added to that ext3/ext4 FS, that storage server is close to undestructable...

zzz2496
 

My Computer

Computer Manufacturer/Model Number
Self Built
OS
Windows7 Ultimate 64bit
CPU
Intel Core 2 Quad Q6600
Motherboard
Abit IN9-32X-MMAX
Memory
DDR2 Adata 4GB
Graphics Card(s)
Nvidia GeForce GTX 285 1024 and Nvidia GeForce 8800GT 512
Sound Card
Asus Xonar HDAV 1.3
Monitor(s) Displays
Dell 2407WFP and BenQ 2400v and Philips 150v3
Screen Resolution
3840x1200 and 1024x768
Hard Drives
2 WDC 1TB
1 WDC 1.5TB
1 WDC 640GB
1 WDC 320GB
1 Seagate 200GB
PSU
Corsair TX 850W
Case
Cooler Master HAF932
Cooling
Arctic Cooling Freezer Extreme and plenty of fans...
Keyboard
MicrosoftNaturalKeyboard 4000/Apple Alu keyboard/Dinovo mini
Mouse
Logitech G5/MarbleMouseTrackball/PerformanceMX/SpacePilotPRO
Internet Speed
1.5Mbps down/384Kbps up
Other Info
APC SURT 1000XL
Logitech Z-560
Wiimote
Mikrotik Router
Linksys (now Cisco) SD2008 8 port Gigabit switch
Linksys WRT54G (acting as AP)
Apple wireless Aluminium keyboard
Apple Magic Mouse
Xbox360 wired controller
Or maybe back your files using Rsync? It has similar to SNAPSHOT feature you can explore.

zzz2496
 

My Computer

Computer Manufacturer/Model Number
Self Built
OS
Windows7 Ultimate 64bit
CPU
Intel Core 2 Quad Q6600
Motherboard
Abit IN9-32X-MMAX
Memory
DDR2 Adata 4GB
Graphics Card(s)
Nvidia GeForce GTX 285 1024 and Nvidia GeForce 8800GT 512
Sound Card
Asus Xonar HDAV 1.3
Monitor(s) Displays
Dell 2407WFP and BenQ 2400v and Philips 150v3
Screen Resolution
3840x1200 and 1024x768
Hard Drives
2 WDC 1TB
1 WDC 1.5TB
1 WDC 640GB
1 WDC 320GB
1 Seagate 200GB
PSU
Corsair TX 850W
Case
Cooler Master HAF932
Cooling
Arctic Cooling Freezer Extreme and plenty of fans...
Keyboard
MicrosoftNaturalKeyboard 4000/Apple Alu keyboard/Dinovo mini
Mouse
Logitech G5/MarbleMouseTrackball/PerformanceMX/SpacePilotPRO
Internet Speed
1.5Mbps down/384Kbps up
Other Info
APC SURT 1000XL
Logitech Z-560
Wiimote
Mikrotik Router
Linksys (now Cisco) SD2008 8 port Gigabit switch
Linksys WRT54G (acting as AP)
Apple wireless Aluminium keyboard
Apple Magic Mouse
Xbox360 wired controller
You could run this BAT.

Code:
@echo on
setlocal enabledelayedexpansion
set myDir=%~1
set limit=%~2
if "x%myDir%"=="x" set myDir=%CD%\*.bak
if "x%limit%"=="x" set limit=3
REM Find the total number files in the directory.
set /A total=0
for %%v in ("%myDir%") do (
    set /A total+=1
)
REM Delete all but the last few files.
set /A delCount = %total% - %limit%
set /A count=1
for /f usebackq %%v in (`dir /b /od /tc "%myDir%"`) do (
    if /i "!count!" LEQ "!delCount!" del %%v
    set /A count+=1
)
 

My Computer

Computer type
PC/Desktop
OS
Windows 7
Back
Top