Backup task question [CLOSED]

Forum de ajuda para resolução de problemas relacionados com consola de gestão / interface web

Moderator: abolinhas

Backup task question [CLOSED]

New postby Friend7 » Wed Jun 15, 2011 7:24 pm

Hello abolinhas,

Does the Backup task work on your servers for V1.5.061419?
Last edited by Friend7 on Thu Jun 16, 2011 5:59 am, edited 1 time in total.
Best Regards,
Friend7
 
Posts: 2373
Joined: Sun Feb 06, 2011 3:41 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A newbee

Re: Backup task question

New postby abolinhas » Wed Jun 15, 2011 10:00 pm

Yap, backup task are working fine on my side, but I have the 1.5.061319...

Post the output
Code: Select all
php5 /usr/share/artica-postfix/exec.backup.php BTN --verbose
where BTN is your backup tack number
Cumprimentos / Best Regards

André Bolinhas
Twitter: @abolinhas
User avatar
abolinhas
 
Posts: 1015
Joined: Fri Jun 19, 2009 8:50 am
Location: Portugal
Artica servers number: 4
Linux System: Ubuntu
Technical skills: A Linux System Administrator

Re: Backup task question

New postby Friend7 » Thu Jun 16, 2011 12:25 am

Code: Select all
[root@ns1 ~]# php /usr/share/artica-postfix/exec.backup.php 7 --verbose

[26330] [DAEMON]::::backup_events:: 06-15 09:52:35 [TASK 7]: SELECT * FROM backup_schedules WHERE ID=\'7\' in exec.backup.php line 1127

<font color=ff0000><code style='font-size:12px'>

Notice: Undefined index:  ONLY_TESTS in /usr/share/artica-postfix/exec.backup.php on line 1130

</code></font><br><font color=ff0000><code style='font-size:12px'>

Notice: Use of undefined constant alse - assumed 'alse' in /usr/share/artica-postfix/exec.backup.php on line 126

</code></font><br>[26330] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by exec.backup.php usersMenus() line 126 in class.ldap.inc

[26330] [DAEMON]::::clladp/clladp:: fsockopen -> 127.0.0.1:389 OK in class.ldap.inc

[26330] [DAEMON]::::clladp/ldap_perform_connection:: -> ldap_connect(127.0.0.1,389 )  called by class.users.menus.inc clladp() line 464 in class.ldap.inc line 319

[26330] [DAEMON]::::clladp/ldap_perform_connection:: ldapbind -> cn=name,dc=my-domain,dc=com in class.ldap.inc

[26330] [DAEMON]::::clladp/clladp:: check BuildMasterTree() and ArticaCreate() in class.ldap.inc

Instanciate userMenus()  called by exec.backup.php backup() line 79

Instanciate sockets() 0=root  called by exec.backup.php usersMenus() line 126

Instanciate sockets() 0=root  called by exec.backup.php backup() line 79

<font color=ff0000><code style='font-size:12px'>

Notice: Undefined index:  ONNLY_MOUNT in /usr/share/artica-postfix/exec.backup.php on line 147

</code></font><br>[26330] [DAEMON]::::backup_events:: 06-15 09:52:35 [TASK 7]: resource: rsync -> backup.domain.com in exec.backup.php line 1127
<font color=ff0000><code style='font-size:12px'>

Notice: Undefined index:  ONLY_TESTS in /usr/share/artica-postfix/exec.backup.php on line 1130

</code></font><br>[26330] [DAEMON]::::backup_events:: 06-15 09:52:35 [TASK 7]: INFO, 10 length password mount_rsync in exec.backup.php line 1127

<font color=ff0000><code style='font-size:12px'>

Notice: Undefined index:  ONLY_TESTS in /usr/share/artica-postfix/exec.backup.php on line 1130

</code></font><br>mount_rsync():: Listing files or directories using "/usr/bin/rsync --list-only --password-file=/root/.backup.pwd/7 rsync://user@backup.domain.com/directory --stats --dry-run 2>&1"



Best Regards,
Friend7
 
Posts: 2373
Joined: Sun Feb 06, 2011 3:41 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A newbee

Re: Backup task question

New postby abolinhas » Thu Jun 16, 2011 12:39 am

I don't know if this patch's can fix your problem, but you can try
viewtopic.php?f=10&t=3845&start=0
Cumprimentos / Best Regards

André Bolinhas
Twitter: @abolinhas
User avatar
abolinhas
 
Posts: 1015
Joined: Fri Jun 19, 2009 8:50 am
Location: Portugal
Artica servers number: 4
Linux System: Ubuntu
Technical skills: A Linux System Administrator

Re: Backup task question

New postby Friend7 » Thu Jun 16, 2011 12:44 am

Yes, I have tried patch class.mount.inc.zip but it does not work as well.
Best Regards,
Friend7
 
Posts: 2373
Joined: Sun Feb 06, 2011 3:41 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A newbee

Re: Backup task question

New postby Friend7 » Thu Jun 16, 2011 5:59 am

Hello,

Could you please give a hand here?

http://forum.artica.fr/viewtopic.php?f=10&t=3894
Best Regards,
Friend7
 
Posts: 2373
Joined: Sun Feb 06, 2011 3:41 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A newbee

Re: Backup task question [CLOSED]

New postby abolinhas » Thu Jun 16, 2011 8:54 am

You try the exec.backup.php.tar.gz to ?
Cumprimentos / Best Regards

André Bolinhas
Twitter: @abolinhas
User avatar
abolinhas
 
Posts: 1015
Joined: Fri Jun 19, 2009 8:50 am
Location: Portugal
Artica servers number: 4
Linux System: Ubuntu
Technical skills: A Linux System Administrator

Re: Backup task question [CLOSED]

New postby Friend7 » Thu Jun 16, 2011 6:10 pm

exec.backup.php.tar.gz


Put it in ressources directory
class.mount.inc.zip



Yes I did patch Artica, but it does not work.

Maybe I did it in the wrong place.

Where did you put the files?

Thanks
Best Regards,
Friend7
 
Posts: 2373
Joined: Sun Feb 06, 2011 3:41 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A newbee

Re: Backup task question [CLOSED]

New postby abolinhas » Thu Jun 16, 2011 6:14 pm

exec.backup.php.tar.gz under /usr/share/artica-postfix
class.mount.inc.zip under /usr/share/artica-postfix/ressources
Cumprimentos / Best Regards

André Bolinhas
Twitter: @abolinhas
User avatar
abolinhas
 
Posts: 1015
Joined: Fri Jun 19, 2009 8:50 am
Location: Portugal
Artica servers number: 4
Linux System: Ubuntu
Technical skills: A Linux System Administrator

Re: Backup task question [CLOSED]

New postby Friend7 » Thu Jun 16, 2011 6:27 pm

Yes I have patched them

and

I patched them one more time manually.

It still does not work.

Which OS do you have?
Best Regards,
Friend7
 
Posts: 2373
Joined: Sun Feb 06, 2011 3:41 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A newbee

Next

Return to Consola de gestão

Who is online

Users browsing this forum: No registered users and 1 guest

cron