costumized backup name with backup time? | Old Forum | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_TopicIcon
costumized backup name with backup time?
April 4, 2009
12:00 am
Avatar
martinruthen
Guest
Guests

Hi Ovidiu,

cronjobs are running well so far. There is only one problem left: For costumized cronjobs I have left backup name blank as I want to have the date in my backup file names, what seems to be impossible by choosing a customized backup file name. From server side I have running all my cronjobs at 3 a clock in the morning. My server runs the jobs one after another without any problem. But xCloner automatically names all backups equal name_date_03_00. That means each backup is overwritten by the next cronjob. Finally there is only the backup of my last cronjob left. Is there any possibility to modify manually a costumized cron configuration file in a way to have backups named individually and have date and time added automatically? That would be perfect

Martin

April 5, 2009
12:00 am
Avatar
admin
Guest
Guests

I think a small customization of the php code is possible, we can help you with that if you like, however you could also change the backup store path for each of your cronjobs so they don't conflict each other

Regards, Ovidiu

April 6, 2009
12:00 am
Avatar
martinruthen
Guest
Guests

I have already tried to change the backup store path. In this case xcloner always backs up all my sites in one file. So this doesn't seem to work. Therefore it would be fine if I could customize the php code with your help.

Martin

April 19, 2009
12:00 am
Avatar
martinruthen
Guest
Guests

Hi Ovidiu,

since I use those costumized backup file names I cannot download the files via ftp anymore. This means I get the files but the files are always empty. I only receive a complete file if I use the download tool of my server panel. But files that I back up to a remote ftp server are worthless as I cannot use them anymore though they show as complete files on the ftp server. I did not have this problem using the default file naming and I do not have it with my database backup tool files and any other files at all. How does it come?

Martin

April 19, 2009
12:00 am
Avatar
martinruthen
Guest
Guests

Meanwhile I've found out what went wrong. My ftp client is filezilla and it cannot read double points like this : in file names, other ftp clients obviously can.

So I had to change the time stamp in line 105 of cloner.cron.php from "Y-m-d H:i" to something like this "Y-m-d H-i".
(Downloading files my server panel changes double points in file names by default.)

Martin

April 19, 2009
12:00 am
Avatar
martinruthen
Guest
Guests

that came by mistake. Please delete this post, Ovidiu

May 5, 2009
12:00 am
Avatar
martinruthen
Guest
Guests

Hi Ovidiu,

in my costumized cron files I cannot use different numbers of days for deleting backup files. Some backups I want to be deleted after 14 days others after 28 days. But xcloner deletes every file that is older than 14 days as it doesn't recognize different file names and saves all its backup files in /home/user/administrator/backups/.

I tried to change line 4 in my costumized cron files:
$_CONFIG['clonerPath']="/home/martin/administrator/backups/";
to
$_CONFIG['clonerPath']="/home/martin/administrator/backups/special_backup_name/";

XCloner does backup into these special folders but it takes hours and the backups must be corrupted as they are much bigger than the original.

Is there a possibility to solve that problem or do I have to keep all my backups for the same period of time?

Regards
Martin

May 6, 2009
12:00 am
Avatar
martinruthen
Guest
Guests

As far as I can see backup store path is exactly written in that line 4 which I had changed manually before and that didn't work.

Martin

May 6, 2009
12:00 am
Avatar
martinruthen
Guest
Guests

Does it mean that backup store path is saved to other xcloner program files apart from a config file? In this case please let me know in which files/which lines I have to change backup store path as well.

My explanation:
Changing an existing config file on xcloner screen by filling in its file name again and saving it again does not work properly. The changements are not correctly saved. I have tried this several times. On the other hand it is quite uncomfortable and takes much time to create config files in xcloner from scratch with all the exclusions and different settings, that I have to fill in. That's why I prefer to edit existing config files (and the possibly depending other files) and change them manually.

Regards
Martin

May 6, 2009
12:00 am
Avatar
martinruthen
Guest
Guests

That's exactly what I did and what works very well apart from changing backup path as I described above. I can save the backup path that I want to have and backups are saved in different folders but are corrupted!!!

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Omar Vera
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0