Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Restore a Debian Linux Server Backup to a VM from BackupPC

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
SecplusHelpDesk
Posts: 2
Joined: 2016-12-12 20:04

Restore a Debian Linux Server Backup to a VM from BackupPC

#1 Post by SecplusHelpDesk »

Is it possible restore a Debian Linux Server Backup to a VM using BackupPC?

marcetm
Posts: 135
Joined: 2015-08-02 21:30

Re: Restore a Debian Linux Server Backup to a VM from Backup

#2 Post by marcetm »

Yes. All you need is a SMB share to restore it.

SecplusHelpDesk
Posts: 2
Joined: 2016-12-12 20:04

Re: Restore a Debian Linux Server Backup to a VM from Backup

#3 Post by SecplusHelpDesk »

I do not even know where to start to even attempt this.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Restore a Debian Linux Server Backup to a VM from Backup

#4 Post by GarryRicketson »

SecplusHelpDesk wrote:I do not even know where to start to even attempt this.
You could start by trying to do some searches,
How to restore Debian Server Backup to a VM using BackupPC?

One result: https://wiki.debian.org/DebianEdu/HowTo/BackupPC


Also, what kind of VM would be a factor,

I do not know anything about this "BackupPC", so I did some searches
to see what it is,....
https://en.wikipedia.org/wiki/BackupPC


It certainly would not be my choice for a method in making a back up
of my server,....way to complicated.
I just start the virtual machine (VirtualBox), and then use 'rsync' to copy/transfer the files, to the VM, and 'mysql_dump', to make a "backup" of the data base.
Then I copy the "mysql_mybackup.sql" to the VM, and restore it on the VM.


After I have it on the VM, that is the "backup", in the event that I need it,
then I would use the same process to copy/transfer back to the server, after
repairing or re-installing the server, or what ever.

But no point in going into details on that, if you are set on using "BackupPC", all I can suggest is do some searches, and read the documentation and manuals on it.
It seems like you should be able to just restore the backup to the VM, the same as you would if you needed to restore or use it on the real server. .
marcetm wrote:Yes. All you need is a SMB share to restore it.
I noticed this on the wiki article, :
BackupPC incorporates a Server Message Block (SMB) client that can be used to back up network shares of computers running
You probably need to do some searches on using SMB share,
I would start with the key words " How to use SMB share " or
something like that.

Post Reply