Tags:
create new tag
view all tags

SID-01509: Problem performing a backup on twiki 4.1.2 on windows

Status: Answered Answered TWiki version: 4.1.2 Perl version: 5.008008 (cygwin)
Category: BackupRestorePlugin Server OS: windows 2000 Last update: 13 years ago

I am trying to perform a backup suing backuprestore pluguin on my windows insralltion in order to restore on a new linux installation. I have follwoed all the steps of the docment and also installed gnu zip for windows. The problem is that when i try to create a backup, I get the following error:

$ ./backuprestore create_backup Backing up to twiki-backup-2012-07-28-20-34.zip: data, -x, .svn/ Backing up to twiki-backup-2012-07-28-20-34.zip: pub, -x, .svn/ Backing up to twiki-backup-2012-07-28-20-34.zip: working, -x, .svn/, /tmp/, /registration_approvals/ ERROR: Can't create backup twiki-backup-2012-07-28-20-34.zip. [Sat Jul 28 20:34: 16 2012] backuprestore: Can't exec "/usr/bin/zip": No such file or directory at /twiki/lib/TWiki/Plugins/BackupRestorePlugin/CaptureOutput.pm line 89.

ERROR: Can't create backup twiki-backup-2012-07-28-20-34.zip. [Sat Jul 28 20:34: 16 2012] backuprestore: Can't exec "/usr/bin/zip": No such file or directory at /twiki/lib/TWiki/Plugins/BackupRestorePlugin/CaptureOutput.pm line 89.

ERROR: Can't create backup twiki-backup-2012-07-28-20-34.zip. [Sat Jul 28 20:34: 16 2012] backuprestore: Can't exec "/usr/bin/zip": No such file or directory at /twiki/lib/TWiki/Plugins/BackupRestorePlugin/CaptureOutput.pm line 89.

Do you know what could be the problem ?

-- RobertoGonzalez - 2012-07-28

Discussion and Answer

Hello again, I finally manage to perform the backup just setting the location of zip.exe on the path environment of my server. Neverhtless I tried to restore it on the new wiki but I got the following error:

| 2012-07-29 - 12:00 | Insecure dependency in system while running with -T switch at /var/www/twiki/lib/TWiki/Plugins/BackupRestorePlugin/CaptureOutput.pm line 89.

Any clue ?

-- RobertoGonzalez - 2012-07-29

The taint issue (insecure dependency) needs to be debugged.

Do you use the latest BackupRestorePlugin? It needs to be at least version 2011-09-05.

-- PeterThoeny - 2012-07-30

thanks for the quick reply peter. I was using TWiki-VM-5.1.1-1 virtual machine. I have also downloaded and installed the latest version of BackupRestorePluguin but still I have the same problem. How can i check that I am using the latest version ? how can I debug this problem?

-- RobertoGonzalez - 2012-07-30

installed version is 22535 (2012-01-13)

-- RobertoGonzalez - 2012-07-30

Hi again Peter, i finally managed to get rid of that error. The problem is that I was not using the console in the right place, now I can get to console details but I get the following errors:

ERROR: Can't list content of backup twiki-backup-2012-07-29-01-18.zip. error: Zip file too big (greater than 4294959102 bytes) End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. note: /tmp/twiki-backup-2012-07-29-01-18.zip may be a plain executable, not an archive unzip: cannot find zipfile directory in one of /tmp/twiki-backup-2012-07-29-01-18.zip or /tmp/twiki-backup-2012-07-29-01-18.zip.zip, and cannot find /tmp/twiki-backup-2012-07-29-01-18.zip.ZIP, period.

I think this error is because when I created the backup I get the following one:

$ ./backuprestore create_backup Backing up to twiki-backup-2012-07-30-08-55.zip: data, -x, .svn/ Backing up to twiki-backup-2012-07-30-08-55.zip: pub, -x, .svn/ Backing up to twiki-backup-2012-07-30-08-55.zip: working, -x, .svn/, /tmp/, /registration_approvals/ ERROR: Can't create backup twiki-backup-2012-07-30-08-55.zip. zip warning: Permi ssion denied

if i try to restore I get the following message:

NOTE: Nothing to do, no webselected to restore

Seems the backup has not been performed correctly.

What could be the problem of permission denied ?

Thnaks in advance!

-- RobertoGonzalez - 2012-07-30

I am sorry you run into so many issues with the backup & restore. See BackupRestorePluginDev, the zip utility seems to have a limitation of 4 GB, and it looks like you hit that limit. You probably need to do a manual upgrade. Follow the upgrade instructions at TWikiUpgradeGuide, section Copy your old webs to new TWiki.

-- PeterThoeny - 2012-07-30

Hi Peter, most of the issues I found with the application where more related to my lack of knowledge of twikiinstead of the problems with the application. I also think the main problem is now related with that 4gb restriction so I started to work on manual upgrade. Nevertheless thanks again for your help.

-- RobertoGonzalez - 2012-07-30

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Problem performing a backup on twiki 4.1.2 on windows
SupportCategory BackupRestorePlugin
TWiki version 4.1.2
Server OS windows 2000
Web server Apache/1.3.37 (Win32)
Perl version 5.008008 (cygwin)
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2012-07-30 - RobertoGonzalez
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.