Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How many Terrabytes do I backup?

Status
Not open for further replies.

UnixSkunk

IS-IT--Management
Oct 16, 2002
86
US
Hi, everyone.
Does anyone here know how I can find out how much space each backup group I have will take up on tape? Is there a script out there that will tell me how much space my Full backups will probably use....? How much space TOTAL is used from all the backups combined? The most important thing I am looking for is a script to tell me how much space my Full Backups will probably use. Many thanks!

UnixSkunk - Tux's Evil Nemesis
 
Just use the preview option (savegrp -p ....)
This should tell you.
 
You can also execute a QUERY in the Media Database (by mminfo -q ....) , after the backup.

If you need a example of the sintax , please let me know.

Thanks.
 
Thanks, everyone.
Persevalli, if you could provide me an example, that would be great. I havent seen this used before! Thanks again, everyone!

UnixSkunk - Tux's Evil Nemesis
 
M:\>mminfo -s marte -q &quot;savetime>06/16/03,savetime<06/17/03&quot; -r &quot;client(40),volu
me(20),name(60),totalsize(20),ssflags&quot;

This command enter in the &quot;marte&quot; server and query all backup from the day 16 to day 17 , getting the totalsize by saveset.

You can also use the &quot; -c &quot; flag to verify some especific client.
Can use too other parameters to get some hard information , like the &quot;init time , end time&quot; of a really big amount of backuped-up data. You can export this to a file and import to Access...

Regards.


 
Hi again, persevalli
This seemed to do something, though I'm not sure what. I cant figure out where this is supposed to tell me the total amount of gigabytes I'm backing up. Thanks again!

UnixSkunk - Tux's Evil Nemesis
 
The parameter that tells you about the size is &quot;totalsize&quot;.
The line works for each save set, so you have to add these
values to get an idea about all the data that has been created.

However, to be able to do this, the save set must have been
closed so it cannot be used to predict the amount before the
actual backup takes place (as he said).
 
All,

If the backup is not completed yet , this information will be visible on the &quot;SSFLAGS&quot;.
I´m not sure , but it´s easy to find out in the Legato´s documento &quot;Command reference guide - mminfo&quot; , this doc have all flags of the SSFLAGS (include the success of insucess of the backup , if you need to do a script to check a lot of backups on a automatic way).

Regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top