OpenVZ Forum


Home » Mailing lists » Users » Suggestion for VZDUMP
Suggestion for VZDUMP [message #24615] Thu, 06 December 2007 20:00 Go to next message
jarcher is currently offline  jarcher
Messages: 91
Registered: August 2006
Location: Smithfield, Rhode Island
Member
Hi Dietmar and all...

I have another suggestion for VZDUMP, if you don't mind.  Like most people, 
I have been using it for backup of VPSs.  I have a number of VPSs that 
generate a large number of files that don't need to be backed up.  One VPS, 
for example, itself backs up databases by dumping their files.  Another 
generates zone files periodically, and so on.

Dumping these VPSs takes a lot of time and disk space.  The reason I dump 
them is for their configuration, not for their data.

If it was possible to exclude certain files, either by location of by a 
name spec, or both, from the dump, that would be fantastic.

Just a thought, thank you for your hard work and contributions!

Jim
AW: Suggestion for VZDUMP [message #24628 is a reply to message #24615] Fri, 07 December 2007 03:56 Go to previous messageGo to next message
Dietmar Maurer is currently offline  Dietmar Maurer
Messages: 52
Registered: March 2007
Member
just use the --exclude-path option

--exclude-path REGEX    exclude certain files/directories
 
see the manual page for details (man vzdump)

- Dietmar


> Hi Dietmar and all...
> 
> I have another suggestion for VZDUMP, if you don't mind.  
> Like most people, I have been using it for backup of VPSs.  I 
> have a number of VPSs that generate a large number of files 
> that don't need to be backed up.  One VPS, for example, 
> itself backs up databases by dumping their files.  Another 
> generates zone files periodically, and so on.
> 
> Dumping these VPSs takes a lot of time and disk space.  The 
> reason I dump them is for their configuration, not for their data.
> 
> If it was possible to exclude certain files, either by 
> location of by a name spec, or both, from the dump, that 
> would be fantastic.
> 
> Just a thought, thank you for your hard work and contributions!
> 
> Jim
>
Re: AW: Suggestion for VZDUMP [message #24634 is a reply to message #24628] Fri, 07 December 2007 06:17 Go to previous message
jarcher is currently offline  jarcher
Messages: 91
Registered: August 2006
Location: Smithfield, Rhode Island
Member
Thanks Dietmar, I had an older version of VZDUMP installed.  It's upgraded 
now.

Jim


--On Friday, December 07, 2007 4:56 AM +0100 Dietmar Maurer 
<dietmar@maurer-it.com> wrote:

> just use the --exclude-path option
>
> --exclude-path REGEX    exclude certain files/directories
>
> see the manual page for details (man vzdump)
>
> - Dietmar
>
>
>> Hi Dietmar and all...
>>
>> I have another suggestion for VZDUMP, if you don't mind.
>> Like most people, I have been using it for backup of VPSs.  I
>> have a number of VPSs that generate a large number of files
>> that don't need to be backed up.  One VPS, for example,
>> itself backs up databases by dumping their files.  Another
>> generates zone files periodically, and so on.
>>
>> Dumping these VPSs takes a lot of time and disk space.  The
>> reason I dump them is for their configuration, not for their data.
>>
>> If it was possible to exclude certain files, either by
>> location of by a name spec, or both, from the dump, that
>> would be fantastic.
>>
>> Just a thought, thank you for your hard work and contributions!
>>
>> Jim
>>
Previous Topic: vzdump to restore to a specific location
Next Topic: recommended swap space
Goto Forum:
  


Current Time: Mon Nov 18 23:20:07 GMT 2024

Total time taken to generate the page: 0.03111 seconds