Testimonial (dietpi-backup)

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
pakikje
Posts: 70
Joined: Fri Nov 11, 2016 2:04 pm

Testimonial (dietpi-backup)

Post by pakikje » Wed Feb 07, 2018 1:36 pm

Hello guys,

I made a mistake the other day during a transfer of the rootfs to usb. (i got impatient and interrupted the proces, dumb ass, i know)

After a reboot the rootfs was RO. I thought that i would have to reflash dietpi to sd but then i opened dietpi-backup, mounted the rootfs, choose the location of the dietpi-backup. Choose restore. Got a cup of cofee and voila...!! Back in business.... :D

(i am really starting to appreciate and trust Dietpi)

Since i got "dietpi-backup 1" as a cronjob (at 03:00 every day) i lost minimal data (edited scripts)

AND it was so easy!! (and all from a remote location..)

Thanks to all who made this possible...!!!

{Note to self... before attempting a rootfs transfer, first shutdown all process you started from cron. Remove non-essential data (10 Gb of jpg's from ip-cam/webcams)


Greetz from the Netherlands

User avatar
WarHawk
Posts: 254
Joined: Thu Jul 20, 2017 7:55 am

Re: Testimonial (dietpi-backup)

Post by WarHawk » Wed Feb 07, 2018 3:31 pm

You can do rsync as well

But good to hear you got it working...

I had fiddled with my nextcloud install..so my backup kinda borked
but I had backed up all my images and was able to quickly restore...so all in all it worked...but because I fiddled with configs and stuff...it kinda messed up the script...

User avatar
Fourdee
Site Admin
Posts: 2744
Joined: Tue Feb 06, 2007 12:36 pm

Re: Testimonial (dietpi-backup)

Post by Fourdee » Wed Feb 07, 2018 9:28 pm

pakikje wrote: I made a mistake the other day during a transfer of the rootfs to usb. (i got impatient and interrupted the proces, dumb ass, i know)
(i am really starting to appreciate and trust Dietpi)

Since i got "dietpi-backup 1" as a cronjob (at 03:00 every day) i lost minimal data (edited scripts)

AND it was so easy!! (and all from a remote location..)

Thanks to all who made this possible...!!!
Great to hear :)

Originally, DietPi-Backup was added for my purposes to speed up software install tests (i use it upto 100 times a day lol). However, its fantastic is see its real world usage with positive results!
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.

User avatar
WarHawk
Posts: 254
Joined: Thu Jul 20, 2017 7:55 am

Re: Testimonial (dietpi-backup)

Post by WarHawk » Wed Feb 07, 2018 11:57 pm

What do you use for development, is there a way to develop dietpi in a virtual host such as VirtuaBox?

I am trying to develop something for Orange Pi R1
https://github.com/orangepi-xunlong

Can't get to the downloads at the old site

Hah...found a repository with ALL the images for the Orange Pi R1...
https://mega.nz/#F!VG4l1aTL!JNWI52f-5NT ... w!VHpGHLbY

User avatar
MichaIng
Legend
Posts: 205
Joined: Sat Nov 18, 2017 5:21 pm

Re: Testimonial (dietpi-backup)

Post by MichaIng » Thu Feb 08, 2018 12:15 pm

What do you use for development, is there a way to develop dietpi in a virtual host such as VirtuaBox?
As it's mostly about bash scripting, I successfully use VirtualBox VMs for bash coding and testing. There, snapshots are an alternative to dietpi-backup, but I heard that Fourdee is VMWare user, which does not offer snapshots? :D

But anyway if it's about SBC image testing, or software that kinda rely on proper hardware/firmware/drivers availability (Kodi and other video related e.g.), of course you need to do that directly on all the several SBCs, and there dietpi-backups is extremely helpful. Some of our heavier software have again several others as dependencies, downloading, installing, configuring a bunch of software from different sources (APT, self-hosted packages, git, build on device, ...). You really don't wont to clean this up all by hand to revert, even that dietpi-software uninstall does most for you, it simply takes way more time than a clean dietpi-backup recovery 8-).

What I am still thinking about is, besides a system backup, it would be really handy to extend dietpi-backup by some software related data/settings backup, also for server migration. Could be done via separate backup scripts for each software title (where someone manages to write the script), that were executed from main script, based on installation state.
Would be a way to integrate my ownCloud/Nextcloud migration script further into DietPi: http://dietpi.com/phpbb/viewtopic.php?f=9&t=2734

Post Reply