Tags:
create new tag
view all tags

SID-02441: BackupRestore Plugin on Hosted Site

Status: Asked Asked TWiki version: 6.1.0 Perl version:
Category: BackupRestorePlugin Server OS: FreeBSD (hosted) Last update: 5 years ago

Summary: BackupRestore Plugin is still not working on NFSHost - a shared host installation. This appears to the plugin getting a not found error. But this is very confusing to me, because the console found the imported zip file, and showed the details from it.

I turned on debug for the BackupRestore plugin, and went to the BackupRestoreConsole. Once there, it showed the one backup I'd made from my prototype virtual server TWiki and transferred to the BackupRestore directory.

I clicked the Details/Restore... button, and it showed information about the backup.

Leaving all the options at default, I clicked the Restore from backup... button and answered Yes to the confirm dialog.

The console redisplayed immediately, and the contents of debug.txt were:

2020-04-03 - 14:23:13 - BackupRestorePlugin: constructor
2020-04-03 - 14:23:13 - BackupRestorePlugin: BACKUPRESTORE action=backup_detail
2020-04-03 - 14:23:13 - BackupRestorePlugin: _showBackupDetail file=twiki-backup-2019-07-24-14-59.zip
2020-04-03 - 14:23:13 - BackupRestorePlugin: _listZip( twiki-backup-2019-07-24-14-59.zip )
2020-04-03 - 14:23:13 - BackupRestorePlugin: _generateMagic() => twiki-backup-2020-04-03-14-23-5744643780
2020-04-03 - 14:23:13 - BackupRestorePlugin: found TWiki-6.1.0, short version 6.1
2020-04-03 - 14:23:47 - BackupRestorePlugin: constructor
2020-04-03 - 14:23:47 - BackupRestorePlugin: BACKUPRESTORE action=
2020-04-03 - 14:23:47 - BackupRestorePlugin: _showBackupSummary
2020-04-03 - 14:23:47 - BackupRestorePlugin: _listAllBackups
2020-04-03 - 14:23:47 - BackupRestorePlugin: _generateMagic() => twiki-backup-2020-04-03-14-23-1212514111
2020-04-03 - 14:23:52 - BackupRestorePlugin: constructor
2020-04-03 - 14:23:52 - BackupRestorePlugin: BACKUPRESTORE action=backup_detail
2020-04-03 - 14:23:52 - BackupRestorePlugin: _showBackupDetail file=twiki-backup-2019-07-24-14-59.zip
2020-04-03 - 14:23:52 - BackupRestorePlugin: _listZip( twiki-backup-2019-07-24-14-59.zip )
2020-04-03 - 14:23:52 - BackupRestorePlugin: _generateMagic() => twiki-backup-2020-04-03-14-23-7097276212
2020-04-03 - 14:23:52 - BackupRestorePlugin: found TWiki-6.1.0, short version 6.1
2020-04-03 - 14:26:08 - BackupRestorePlugin: constructor
2020-04-03 - 14:26:08 - BackupRestorePlugin: BACKUPRESTORE action=restore_backup
2020-04-03 - 14:26:08 - BackupRestorePlugin: _startRestore file=twiki-backup-2019-07-24-14-59.zip
2020-04-03 - 14:26:08 - BackupRestorePlugin: start new daemon: /home/public//twiki/bin/backuprestore restore_backup twiki-backup-2019-07-24-14-59.zip
2020-04-03 - 14:26:08 - BackupRestorePlugin: _showBackupSummary
2020-04-03 - 14:26:08 - BackupRestorePlugin: _listAllBackups
2020-04-03 - 14:26:08 - BackupRestorePlugin: _generateMagic() => twiki-backup-2020-04-03-14-26-0134915577
As you can see, the command to do the restore and the next entry occur in the same 1/100's of a second, but does not show an error.

If I try to do the command in NFSHost Site control as web, I get the error message: Command run output for: /home/public//twiki/bin/backuprestore restore_backup twiki-backup-2019-07-24-14-59.zip /bin/sh: /home/public//twiki/bin/backuprestore: not found /home/public//twiki/bin/backuprestore restore_backup twiki-backup-2019-07-24-14-59.zip exited with return code 127

If I try to do the command to create a backup in NFSHost Site control as user "web", I get the following error message: Command run output for: /home/public//twiki/bin/backuprestore create_backup /bin/sh: /home/public//twiki/bin/backuprestore: not found /home/public//twiki/bin/backuprestore create_backup exited with return code 127

-- David Tremain - 2020-04-03

Discussion and Answer

      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 Asked
Title BackupRestore Plugin on Hosted Site
SupportCategory BackupRestorePlugin
TWiki version 6.1.0
Server OS FreeBSD (hosted)
Web server Apache
Perl version

Browser & version

Topic revision: r1 - 2020-04-03 - DavidTremain
 
  • 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-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.