Backup in 1.4

Frank.Pawlik

Member
Oct 21, 2009
47
0
6
Hello.

The backup changed from 1.3 to 1.4 .
In 1.4 there is a timestap in the name of the backup - files.
I want the old behavior.
How can I do it?

Thanks!
 
The new behaviour is hardcoded, you can't change that. Although I would accept a patch to specify the filename somehow - any suggestions?
 
Hm.
Would a checkbox ( _ Timestamp in name ) in
the backup menu a lot of work?

I can see and advantage for people running there own hook scpript. But I see no advantage to put such thing on the web interface. Please can you elaborate why you dont want a timestamp in the name?
 
My backup scenario:

1. Backup is made in local folder /backup every night
2. The files where uploaded on a different server where a tape backup is running

Advantages:
The local disk is not running full.
The remote disk is not running full.
No need for lot of controlling.
There is no need for seperated files because of the backup on tape.
Script for uploading is neat and petite.
I think this is a good KISS (keep it small and simple) concept.
Greets!
 
My backup scenario:

1. Backup is made in local folder /backup every night
2. The files where uploaded on a different server where a tape backup is running

So whats the problem with the new naming scheme (vzdump automatically deletes older files)? You can even specify how many copies you want to keep (--maxfiles). And even better, you can now create hook script which copies the files to your backup server (--script). Or you can directly backup to an NFS share.
 
Oh.
I missed these features.
It's not in the wiki (or?).
By updating from 1.3 to 1.4 the backup jobs stays as it is.
Good to know what you're mentioned.
Thanks!

BTW.
Proxmox VE is amazing! Good job!
 
Hi dietmar,
So whats the problem with the new naming scheme (vzdump automatically deletes older files)? You can even specify how many copies you want to keep (--maxfiles). And even better, you can now create hook script which copies the files to your backup server (--script). Or you can directly backup to an NFS share.
Does it mean that if I create a backupjob for backing up all my vms everyday at a certain time in a derictory, it would create multiple copies of the vzdump backups for all my vms everyday? WHich mean in a week there are 7 copies of each vm? That will take up a lot of disk space.
You mentioned that the vzdump automatically deletes older files, can you explain in detail. Since the file names are different due to time stamp, why will it delete files?
You also mentioned --maxfiles option for specifying number of copies. Where on the web interface do you specify it? Or you meant in /etc/cron.d/vzdump file?
 
Last edited:
Hi dietmar,
Does it mean that if I create a backupjob for backing up all my vms everyday at a certain time in a derictory, it would create multiple copies of the vzdump backups for all my vms everyday?

see option --maxfiles

WHich mean in a week there are 7 copies of each vm? That will take up a lot of disk space.

by default only one copy is kept (option --maxfiles)

You mentioned that the vzdump automatically deletes older files, can you explain in detail. Since the file names are different due to time stamp, why will it delete files?

see option --maxfiles , or simply test it if you do not understand how it works.

You also mentioned --maxfiles option for specifying number of copies. Where on the web interface do you specify it?

You can specify it in the vzdump configuration file /etc/vzdump.conf (see 'man vzdump')
 
You can specify it in the vzdump configuration file /etc/vzdump.conf (see 'man vzdump')

Strange. vzdump, vzrestore works fine, but can not locate /etc/vzdump.conf
In fact, when I did a search
Code:
proxmox200:/# find -name vzdump.conf
There is not result. Could not find vzdump.conf
How is this possible?
 
Strange. vzdump, vzrestore works fine, but can not locate /etc/vzdump.conf
In fact, when I did a search
Code:
proxmox200:/# find -name vzdump.conf
There is not result. Could not find vzdump.conf
How is this possible?

on default installations there is NO /etc/vzdump.conf.

if you want to specify parameters for vzdump, just created it. see 'man vzdump' for available options.

create it with:

Code:
nano /etc/vzdump.conf
or
Code:
vi /etc/vzdump.conf
for example, it can look like this:
Code:
size: 2048
bwlimit: 10000