Hi, Great idea and much needed module. I have installed it on a shared hosting environment with Site5. The module found all the programs needed but it is an hour or two now and no sign of a tar file being created in Drupals root, and no indication anything is happening, eg error reports.

Can this module run under a shared hosting environment? and if so could it really take hours to produce a back up. (I do have close to 180 modules installed, but almost no content yet)

Comments

dmuth’s picture

Can this module run under a shared hosting environment?

Yes. You might run into problems if PHP safe mode is enabled, but you would know immediately, because an error would be returned.

and if so could it really take hours to produce a back up. (I do have close to 180 modules installed, but almost no content yet)

Yes, but the system would have to be heavily loaded for that. If you know your way around a UNIX command line, I would fire up the "top" utility and see what kind of load is on the system. Otherwise, I'd recommend talking to your webhost.

-- Doug

maui1’s picture

Hi

Safe mode is disabled and the server load was at a minimum.

When I clck on the back button, it says its backing up, but there is no evidence that a tar file is being worked on in the given directory, and hours later there is no tar file and the module page reflects no progress.

Maybe a progress bar would be a good feature or some way to tell the process is actually working.

dmuth’s picture

Actually, you won't find the backup file in the target directory until after the backup is complete. It normally hangs out in /tmp while being created. If you have a UNIX shell, please try running this command:

ls -ltr /tmp

That will list files in the order they have been modified, so the latest files should be at the bottom of the listing. Please check if there is any backup file in there while trying to make a backup.

I will look into modifying this program so that it better logs its activity.

-- Doug

dmuth’s picture

Status: Active » Fixed

Okay, I uploaded a new version of the module which does more logging. It should appear on the site within 24 hours.

Once downloaded, try making a backup. If it times out again, at least you'll be able to see if any progress was made.

-- Doug

Anonymous’s picture

Status: Fixed » Closed (fixed)
afsladmin’s picture

Version: 5.x-2.x-dev » 5.x-3.0

I have a similar problem. When I start the backup, I get the message "Creating the backup. Please stand by." and then nothing appears to happen! Some debugging info is below. Can you help?

System Path
/usr/local/bin: /usr/bin: /binPrograms that will be used
mysqldump program found at: /usr/bin/mysqldump

Programs that will be used
mysqldump program found at: /usr/bin/mysqldump
tar program found at: /bin/tar
gzip program found at: /usr/bin/gzip

PHP Version 4.4.7

System Linux web13.extendcp.co.uk 2.6.9-11.ELsmp #1 SMP Fri May 20 18:26:27 EDT 2005 i686
Build Date Jun 8 2007 10:38:59
Configure Command './configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i686-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-xslt' '--with-xslt-sablot' '--with-mcrypt' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-discard-path' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-ncurses=shared' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-xml' '--with-expat-dir=/usr' '--with-dom=shared,/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-xmlrpc=shared' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mime-magic=/usr/share/file/magic.mime' '--enable-force-cgi-redirect'
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend4/etc/php.ini
Scan this dir for additional .ini files /etc/php.d
additional .ini files parsed /home/sites/afsl.org.uk/public_html/new/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib

fedo’s picture

Hi
i have the same problem
i ran ls -ltr /tmp and i got this:

drwx------ 2 root root 4096 2007-07-21 09:53 ssh-qnAyx11901
drwx------ 2 gdm gdm 4096 2007-07-21 09:53 orbit-gdm
drwx------ 3 root root 4096 2007-07-21 09:53 gconfd-root
drwx------ 2 root root 4096 2007-07-21 09:53 keyring-ksQZnv
drwx------ 2 root root 4096 2007-07-21 09:54 virtual-root.JJ3w83
srwxr-xr-x 1 root root 0 2007-07-21 09:54 mapping-root
drwx------ 2 root root 4096 2007-07-21 10:27 orbit-root

it seems there is no backup file

how can i deal with this?

sveina’s picture

I have the same problem here. No backup file after many hours.

shawnpetriw’s picture

Status: Closed (fixed) » Active

Same issue with me. I've changed the status to "active."

mightyiam’s picture

Status: Active » Closed (duplicate)

Since no warnings/errors are reported, then this is probably the browser issue http://drupal.org/node/169438.

Correct me if I'm wrong.

optimusray’s picture

DawnLight is exactly right, had problem with this in Opera (this is my first day of trying Opera, grrr!!!) and worked like a charm in Firefox (PC).

Thanks dmuth for making this module! I have the technical know how of doing it by hand but I am lazy. :)
Regards

KingMoore’s picture

Backup doesn't work in IE7. Just sits there. Seems like we should at least get some sort of warning that we have to be running FF.