Command line restore

Hi

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

Thanks,

Slamis

A little searching in the wiki produces the following

http://wiki.freepbx.org/display/F2/Warm+Spare+Setup

Thanks :smile:

Q.

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

Thanks!

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

I really dont understand what im missing :smile:
Thanks!

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

http://wiki.centos.org/HowTos/Network/SecuringSSH