freepbx 2.10 creation backup "not found in archive"

huleuxm's picture

I'm running now on FreePBX 2.10 with backup & restore module up to date.

When generating a backup I've an error :

Intializing Backup 1
Connecting to remote server...
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
Prossesing received file...
Storing backup...
Running post-backup hooks...
Restoring backup...
/bin/tar: .etc: Not found in archive
/bin/tar: .tftpboot: Not found in archive
/bin/tar: .var: Not found in archive
/bin/tar: Error exit delayed from previous errors
Running post-backup hooks...
Backup successfully completed!

I run my backup from my backup server with SSH Server, primary and backup are both in 2.10 with Backup & Restore 2.10.0.14.


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I updated to backup &

huleuxm's picture

I updated to backup & restore 2.10.0.15, i also updated freepbx core, etc.

I still have the problem :

Intializing Backup 1
Connecting to remote server...
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
Prossesing received file...
Storing backup...
Running post-backup hooks...
Restoring backup...
/bin/tar: .etc: Not found in archive
/bin/tar: .tftpboot: Not found in archive
/bin/tar: .var: Not found in archive
/bin/tar: Error exit delayed from previous errors
Running post-backup hooks...
Backup successfully completed!

Is it possible that backup & restore module removes slashes from folder directories?


updates

huleuxm's picture

I updated all modules today including backup & restore 2.10.0.16.

I tried the backup again, still the same error.

Intializing Backup 1
Connecting to remote server...
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
/bin/tar: Removing leading `/' from member names
Prossesing received file...
Storing backup...
Running post-backup hooks...
Restoring backup...
/bin/tar: .etc: Not found in archive
/bin/tar: .tftpboot: Not found in archive
/bin/tar: .var: Not found in archive
/bin/tar: Error exit delayed from previous errors
Running post-backup hooks...
Backup successfully completed!


Is this a local backup or is

tonyclewis's picture

Is this a local backup or is this a backup of a remote system?


__________________

Tony Lewis
Schmooze Com, Inc.
FreePBX Developer


I'm running the backup on my

huleuxm's picture

I'm running the backup on my backup server wich is connecting to the primary server, generating the backup on it, grabing the backup to the backup server and restoring it to the backup server


Also if you have a bug the

tonyclewis's picture

Also if you have a bug the developers do not spend time searching forums for bugs. Please use the Bug tracker link on the right of your screen to report a bug or it will never get noticed and fixed.


__________________

Tony Lewis
Schmooze Com, Inc.
FreePBX Developer


I'm not 100% clear on what

mbrevda's picture

I'm not 100% clear on what your issue is. Are you saying that there are files that are not being restored? Please post the backup's manifest by running this:

tar zxOf </path/to/backup/tarball.tgz> ./manifest

and paste the output to http://pastebin.com or the like


__________________

Moshe Brevda, FreePBX/Schmooze Com Development Team


The problem is that some

huleuxm's picture

The problem is that some directories are not present in the generated archive.

I'll give you the manifest tomorrow

Do I have to create a bug in bug tracker?


The issue has been tracked

mbrevda's picture

The issue has been tracked down and we are working on resolving it.


__________________

Moshe Brevda, FreePBX/Schmooze Com Development Team


I made a mistake

huleuxm's picture

I'm sorry I made a mistake.

Directories are present in archive.

Here's the manifest you asked :

http://pastebin.com/9kqbG7Z8


Please refer to my previous

mbrevda's picture

Please refer to my previous comment.


__________________

Moshe Brevda, FreePBX/Schmooze Com Development Team