Current time: 12-25-2024, 11:12 AM Hello There, Guest! (LoginRegister)


Post Reply 
Backups are not working.
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #11
RE: Backups are not working.
Lets start from the beginning!

1.) Check your /tmp/ if there is a .lock file from the Backupscript and delete it
2.) Enable Debug in your /etc/ispcp/ispcp.conf and start the Backup engine again. So we will see why it won´t work.
3.) Check the permissions and of the copied files

Greez BeNe
06-22-2010 04:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
dwander Offline
Junior Member
*

Posts: 18
Joined: Jun 2010
Reputation: 0
Post: #12
RE: Backups are not working.
(06-22-2010 04:08 PM)BeNe Wrote:  Lets start from the beginning!

1.) Check your /tmp/ if there is a .lock file from the Backupscript and delete it
2.) Enable Debug in your /etc/ispcp/ispcp.conf and start the Backup engine again. So we will see why it won´t work.
3.) Check the permissions and of the copied files

Greez BeNe

Hi, i did it ... No lock file, edited conf file. i try to start ispcp-backup-all, but i dont know what input data does it expect ... Got this:

Code:
scooby:/etc/ispcp# /var/www/ispcp/engine/backup/ispcp-backup-all
DEBUG: push_el() sub_name: main(), msg: ERROR: Missing Input Data! Please provid        e appropriate command line parameter(s)!
DEBUG: pop_el() sub_name: main(), msg: ERROR: Missing Input Data! Please provide         appropriate command line parameter(s)!
ERROR: Missing Input Data! Please provide appropriate command line parameter(s)!
DEBUG: push_el() sub_name: unlock_backup_all_system(), msg: Starting...
DEBUG: push_el() sub_name: del_file(), msg: Starting...
DEBUG: push_el() sub_name: del_file(), msg: ERROR: File
'/tmp/ispcp-backup-all.lock' does not exist !
06-22-2010 08:49 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #13
RE: Backups are not working.
Siehe Einträge im Cron:

/var/www/ispcp/engine/backup/ispcp-backup-all yes
/var/www/ispcp/engine/backup/ispcp-backup-ispcp report

/J
06-22-2010 08:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
dwander Offline
Junior Member
*

Posts: 18
Joined: Jun 2010
Reputation: 0
Post: #14
RE: Backups are not working.
wooha, i find this by all domains, where are enabled backups (by running backup manually):
Code:
DEBUG: push_el() sub_name: backup_all_engine(), msg: Domain dwander.cz: ERROR: the type of backup (*_full_*) is not allowed!

so, question is: if "_full_" isnt right, should i try "full" ?

Answer is: YES

When i try run bacup after i replaced it, for domains with "full" does backups work fine.

New question is: where can i repair it in ispcp admin, so i never mus do this manually.

Edit:
Should be backup tasks in the root´s crontab ?
(This post was last modified: 06-23-2010 09:58 PM by dwander.)
06-23-2010 09:56 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #15
RE: Backups are not working.
The '_full_' value is only for the web-form - the value 'full' is used in the database.

Otherwise there's an error somewhere...

/J
06-23-2010 10:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
dwander Offline
Junior Member
*

Posts: 18
Joined: Jun 2010
Reputation: 0
Post: #16
RE: Backups are not working.
(06-23-2010 10:00 PM)joximu Wrote:  The '_full_' value is only for the web-form - the value 'full' is used in the database.

Otherwise there's an error somewhere...

/J

that i see ..., but where ?
06-23-2010 11:49 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #17
RE: Backups are not working.
I don't know.
If I (as reseller) edit the domain of a customer an change the backup from full to domain (safe it) and then back - I get the "full" again in the database (ispcp 1.0.5)

Maybe you have a look at this...
/reseller/domain_edit.php?edit_id=1
06-24-2010 08:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
dwander Offline
Junior Member
*

Posts: 18
Joined: Jun 2010
Reputation: 0
Post: #18
RE: Backups are not working.
(06-24-2010 08:32 AM)joximu Wrote:  I don't know.
If I (as reseller) edit the domain of a customer an change the backup from full to domain (safe it) and then back - I get the "full" again in the database (ispcp 1.0.5)

Maybe you have a look at this...
/reseller/domain_edit.php?edit_id=1

i find it in multiple files in gui, but most interresting is hosting_plan_add.php

Code:
'VL_BACKUPD'    => ($hp_backup == '_dmn_') ? 'checked="checked"' : '',
                                        'VL_BACKUPS'    => ($hp_backup == '_sql_') ? 'checked="checked"' : '',
                                        'VL_BACKUPF'    => ($hp_backup == '_full_') ? 'checked="checked"' : '',
                                        'VL_BACKUPN'    => ($hp_backup == '_no_') ? 'checked="checked"' : '',
I thing this is all wrong (line 204/376)
06-24-2010 08:32 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #19
RE: Backups are not working.
no!

theese values are used to communicate with the gui:
if you load the formular (where you can change the backup-setting) then the "_"-values are used to fill the form.

After saving the new settings, the pure values (without _) are saved to the database:
$allowbackup = preg_replace("/\_/", "", $_POST['backup']);
here the _ are removed...

/J
06-24-2010 09:05 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)