OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Image backup using Clonezilla
« previous next »
  • Print
Pages: 1 [2] 3

Author Topic: Image backup using Clonezilla  (Read 12630 times)

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Image backup using Clonezilla
« Reply #15 on: April 02, 2018, 05:50:53 pm »
Quote from: dcol on April 02, 2018, 04:50:54 pm
Nextcloud Server does not support Microsoft Windows. Otherwise I would consider it.
A VM or a (docker) container is no option?
How about LSW (Linux Subsystem for Windows)?
Logged

dcol

  • Hero Member
  • *****
  • Posts: 585
  • Karma: 49
    • View Profile
Re: Image backup using Clonezilla
« Reply #16 on: April 02, 2018, 06:47:24 pm »
Don't want Linux. I am not comfortable working with it.
Logged

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: Image backup using Clonezilla
« Reply #17 on: April 02, 2018, 11:14:20 pm »
Maybe you could give it a chance...
At first i didn't like it either, i couldn't even find a distro without some sorts of problems. But then i settled with Ubuntu Server without a GUI (not the Desktop version with a GUI, which i think sucks). I don't need an interface, most of the servers i run on it don't need one. It's much more stable like this. Sure.. they crash sometimes from even sneezing near them (or feels like it), but i backup everything. For low power boxes, it's a great choice in the end. Just saying that it deserves a second chance :)
Logged
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

dcol

  • Hero Member
  • *****
  • Posts: 585
  • Karma: 49
    • View Profile
Re: Image backup using Clonezilla
« Reply #18 on: April 03, 2018, 06:49:15 pm »
Running another system just to backup OPNsense sounds like overkill to me. VM's make a system too congested.

Right now what I do is a configuration backup, then create a new system, then follow my notes on reconstruction. Takes about 45 minutes. Can't use HDD Raw on a production system because I have to take it down for 30 minutes while I do the backup.

Besides, would NextCloud backup the system as an image with all my added files and packages?
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Image backup using Clonezilla
« Reply #19 on: April 03, 2018, 06:56:45 pm »
It backups only the configuration from a running OPNsense installation. This has the advantage that there is no downtime and it is fully automated. It is not a disk image.
Logged

dcol

  • Hero Member
  • *****
  • Posts: 585
  • Karma: 49
    • View Profile
Re: Image backup using Clonezilla
« Reply #20 on: April 03, 2018, 07:12:36 pm »
Then NextCloud doesn't give me anything I don't already have other than a scheduled configuration backup.
I would prefer the Google Cloud setup, if the docs were better. Never got that to work.
Logged

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: Image backup using Clonezilla
« Reply #21 on: April 03, 2018, 08:00:51 pm »
I have a Linux machine which i use for many other things. You get to use it for many things once you have it :)

My Google Drive backup works perfectly, do you need any help with it?
Logged
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

dcol

  • Hero Member
  • *****
  • Posts: 585
  • Karma: 49
    • View Profile
Re: Image backup using Clonezilla
« Reply #22 on: April 04, 2018, 01:49:21 am »
I was waiting for new docs to implement the Google backup. The current docs don't match the choices from Google. If you know how to do it, write a tutorial and I will try it again. Thanks
Logged

ThePOO

  • Newbie
  • *
  • Posts: 26
  • Karma: 3
    • View Profile
Re: Image backup using Clonezilla
« Reply #23 on: April 04, 2018, 05:41:02 am »
@dcol      Could I have a copy of your notes on reconstruction?

I have backed up my configuration and then installed OPNsense on a new piece of hardware and then restored my configuration.    I have had this work perfectly a time or two.    Then I get a restoration that just leaves stuff out.    Pretty strange.

If you have a "reconstruction" recommendation/formulae/suggestion I'd love to partake of that ..... 'cause I'd like to have some assurance that what I backed up can be reliably restored.

Thanks tons.

P.S.:   If there IS a HDD imaging tool anyone comes up with that works I'd be interested in that method as well.
« Last Edit: April 04, 2018, 05:44:42 am by ThePOO »
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Image backup using Clonezilla
« Reply #24 on: April 04, 2018, 08:34:34 am »
Quote from: ThePOO on April 04, 2018, 05:41:02 am
P.S.:   If there IS a HDD imaging tool anyone comes up with that works I'd be interested in that method as well.
The best tool I know to create a disk image is "dd".
Logged

ThePOO

  • Newbie
  • *
  • Posts: 26
  • Karma: 3
    • View Profile
Re: Image backup using Clonezilla
« Reply #25 on: April 04, 2018, 03:24:13 pm »
Quote from: fabian on April 04, 2018, 08:34:34 am
Quote from: ThePOO on April 04, 2018, 05:41:02 am
P.S.:   If there IS a HDD imaging tool anyone comes up with that works I'd be interested in that method as well.
The best tool I know to create a disk image is "dd".

Venerable tool ... now why didn't I think of that !!!     Thanks a lot.
Logged

dcol

  • Hero Member
  • *****
  • Posts: 585
  • Karma: 49
    • View Profile
Re: Image backup using Clonezilla
« Reply #26 on: April 08, 2018, 11:11:30 pm »
Is there a way to use 'dd' within an OPNsense shell to create an image, let's say, on a USB stick? That would be ideal.

Otherwise, as I stated earlier. HD Raw copy is the best free full image tool for Windows.
Logged

Davesworld

  • Full Member
  • ***
  • Posts: 133
  • Karma: 17
    • View Profile
Re: Image backup using Clonezilla
« Reply #27 on: April 08, 2018, 11:30:12 pm »
Quote from: dcol on April 08, 2018, 11:11:30 pm
Is there a way to use 'dd' within an OPNsense shell to create an image, let's say, on a USB stick? That would be ideal.

Otherwise, as I stated earlier. HD Raw copy is the best free full image tool for Windows.

If it's a big enough usb stick no problem.
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Image backup using Clonezilla
« Reply #28 on: April 09, 2018, 10:01:53 am »
Quote from: Davesworld on April 08, 2018, 11:30:12 pm
If it's a big enough usb stick no problem.
The input or output of dd can be piped through a compression tool like gzip, xz, etc.
Logged

dcol

  • Hero Member
  • *****
  • Posts: 585
  • Karma: 49
    • View Profile
Re: Image backup using Clonezilla
« Reply #29 on: April 12, 2018, 04:45:13 pm »
Well then I will try it today and report back. If it looks good, then maybe I will do a tutorial on doing an image backup and restore. USB sticks are cheap so that is no issue. Probably a good idea to use a bootable USB stick too.
Then you can boot to a FreeBSD shell and then do the restore.
Logged

  • Print
Pages: 1 [2] 3
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Image backup using Clonezilla
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2