Command line restore


Is there a way to restore Freepbx from backup file from the command line?



A little searching in the wiki produces the following

Thanks :smile:


How can I know the password for user asterisk?

You use sudo as root. If you are logged on as root you don’t need any passwords


I followed the instructions. No success… It seems like something is missing: .ssh/authorized_keys

I really dont understand what im missing :smile:

I managed somehow to get it to work but I see this error in the backup (which finishes successfully…)

Saving Backup 2…done!
Intializing Backup 2
Connecting to remote server…
Warning: Identity file /root/.ssh not accessible: Permission denied.
/bin/tar: Removing leading /' from member names /bin/tar: Removing leading/’ from member names
/bin/tar: Removing leading `/’ from member names

Any Ideas?

Thank you! :smile:

A quick google search finds dozens of links regarding SSH setup