TheDesignerGuy

TheDesignerGuy does not currently provide support for this item.

Popular questions for this item

Does this work on Windows servers running IIS?

I can’t see any reason why not!? It should work on windows servers, however you need to do the following:

  • Set the scheduled task manually to execute cron.php
  • Password protect the backup storage directory using an IIS protection method
  • Make sure all files being backup up have appropriate permissions.

It should work.

I’m getting a memory error similar to:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32768030 bytes) in /home/findport/public_html/backup/ctrls/db.class.php on line 205

I’m really sorry that you’re having trouble…

It might be an issue with the files you are trying to backup. PHP can only backup files as big as the memory limit on your server. For example, if your memory limit is 50mb, PHP can only backup a single file upto 50mb. Note I said “single file”. You can still backup files whose TOTAL size is greater than 50mb, as long as each individual file is not greater than the memory limit.

Try one of these options:

  • try splitting your backup into several pieces. For example try backing up the databases in a seperate backup set, and your pics in another
  • avoid backing up a large file (such as a video or zip)
  • try increasing the memory limit on your server. Google “increase php memory limit”

I’m sorry, but I have no control over this. This is a problem with your server’s memory limit.

How to set up a cron job or scheduled task?

What is cron and why do I need it?

You need to set your server to run a particular script in the background every so often. This is so UPSB can run your backups in the background, according to the schedule you specified. This “scheduling” is called ‘cron’ on Unix/Linux systems, or ‘scheduled tasks’ on Windows systems.

1. Setting up a cron on Linux/Unix or a shared host with cPanel:

Basically, you need to make sure you set CRON.PHP (located in the root of the UPSB software) to run every 30 minutes. Use any method you want to this. It does not have to be one of the methods listed below.

If you have cPanel on your host: http://www.siteground.com/tutorials/cpanel/cron_jobs.htm

If you don’t have cPanel, you need SSH access or another control panel set a cron job. Most hosts offer some sort of method for setting cron jobs. Contact your host, and find out how you set it. General article: http://www.webmasters-central.com/article-blog/tutorials/cron-tutorial-managing-cron-tab-or-cron-job-is-easy/

2. Setting up a scheduled task on a windows server

See: http://drupal.org/node/31506

3. Your own method

Contact your host to see how you can set cron jobs or scheduled tasks. Practically all hosts offer some way of doing this.

How do I restore my files in an emergency?

Step 1: Download a recent backup of the backup set (before the emergency happened)

Step 2: Extract the zip file (see “funny zip extraction?”)

Step 3: Your database is backed up in the form of an .sql file in the backup_storage folder (in the zip). To restore it, simply run the .sql file using phpMyAdmin or any other method. You can restore parts of a database by editing the .sql file and only including the tables you wish.

Step 4: Your files are backed up in different folders in the zip. Simply upload the files you wish to restore them.

Funny zip extraction?

This is a known problem with PHP’s ZipArchive function, not with UPSB.

Some versions of PHP create zip files which you may have trouble opening up on. To solve this, try using different extraction software, I STRONGLY recommend using Universal Extractor: http://legroom.net/software/uniextract

If the zip file opens correctly, but is structured strangely, just use it anyway. Please ignore the funny structure. Again, I have no control over this, it’s PHP’s fault.

This problem applies to certain versions of PHP.

I just see one database out of my 10 databases.

You’ll only see the local databases which use the same username/pw as the one you configured for UPSB . For example, if UPSB is using MySQLUsernameA/PW1, you’ll only see the databases which MySQLUsernameA is allowed to access.

To add databases on localhost which do NOT use the same username/pw, just add a remote database with the following settings:

‘localhost’:’differentusername’:’differentpw’:’otherdbname’

Hope that clears it!

My FTP is not working!!!

Don’t panic.

  • Make sure “testFtp.txt” exists in the root folder of the backup script. You can just create a blank file called “testFtp.txt” if it doesn’t exist.
  • Make sure you are using v2.01. Previous versions had an issue with FTP uploading. If you downloaded the file recently from CodeCanyon, it should v2.01. Check the name of the zip file you downloaded and see what version it is.
  • UPSB does not support FTP SSL , or SFTP . Make sure your server does not require SSL or TSL .
  • If all fails, maybe you might want to let me take a look. Perhaps I can resolve the issue.

The local copy of the backup which I can download from the link on the admin page is fine but the backup file that is getting ftped to a remote server is corrupt and when I try to unzip it I get an error and an empty folder.

Try making sure that the script has full permission to read the folder wherein the zipped backups are stored.

Also, you can check the filesize for the corrupted backups which are stored on the remote ftp server. If the filesize is basically empty (1kb or less), most likely you have a permissions problem.

Show more

by
by
by
by
by
by