Hi
I created a backup from one server and want to restore it on fresh server. I installed the Yunohost on Debian. Copied the backup files to the /home/yunohost.backup/archives and ran the restore command. But it resulted in the following error.
$ sudo yunohost backup restore 20170627-024844
Warning: --hooks is deprecated and will be removed in thefuture. Please use --system instead.
Warning: YunoHost is already installed
Do you really want to restore an already installed system? [y/N]: y
Traceback (most recent call last):
File "/usr/bin/yunohost", line 217, in <module>
timeout=opts.timeout,
File "/usr/lib/python2.7/dist-packages/moulinette/__init__.py", line 139, in cli
moulinette.run(args, output_as=output_as, password=password, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py", line 358, in run
ret = self.actionsmap.process(args, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 484, in process
return func(**arguments)
File "/usr/lib/moulinette/yunohost/backup.py", line 2143, in backup_restore
restore_manager.mount()
File "/usr/lib/moulinette/yunohost/backup.py", line 1045, in mount
self.method.mount(self)
File "/usr/lib/moulinette/yunohost/backup.py", line 1780, in mount
self._archive_file, self.work_dir])
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Is this the right way to clone a server to a new fresh server?
Thanks