Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

cron usually runs on Linux per default. Unfortunately my script didn't run which I added to the crontab on raspxbmc.  That's because cron is not enabled on raspbxbmc per default. The following link explains in detail how to activate cron on xbmc.  Then everything works like a charme.

 
 
Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

I backup my xbmc config on my raspberry pi with Linux and rsync.

On windows it's unfortunately not that easy. That's why I describe in the following paragraph how to create a backup on windows and how to restore a previous backup. In addition I provide two windows cmd files which execute the commands in sequence and make the backup and restore much easier. Three tools are requiered on windows: putty, pscp und plink which can be downloaded from the putty page. If you kick off the backup command with the at command on windows you will have an actual backup all the time.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
Die folgende Datei .xbmc/userdata/keymaps/mouse.xml muss erstellt werden und den folgenden Inhalt bekommen:
 
<keymap>   
   <global>
      <mouse>
         <rightclick>leftclick</rightclick>
         <leftclick>rightclick</leftclick>
      </mouse>
   </global>
</keymap>

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

0 years ago today the first version of raspiBackup was stored in my local cvs.

revision 1.1
date: 2013-08-07 21:28:14 +0200; author: framp; state: Exp; commitid: 10052029FC71A98602F;
Initial version
=============================================================================

 

This cvs unfortunately no longer exists because it would be interesting to see how the script has changed over the 10 years. Initially there were about 50 lines of code.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
raspiBackup has a new logo. Friendly forum members from the German Raspberry forum helped me to create one.
 
Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

The backup directory created by raspiBackup contains all information required to restore this backup also manually with standard Linux tools. The following page describes how to restore a normal tgz backup.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

An agile user of raspiBackup - Franjo-G - wrote a very convenient tool called raspiBackupDialog In a dialog driven way the most used options for backup and restore are queried. raspiBackup snapshots are supported. In particula the restore is very easy: You get a list of all existing backups and can select which one to use for the restore.

 

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

raspiBackup allows to create a kind of snapshot with option -M. It's a normal backup with two special properties:

  1. Snapshots will not be deleted by the selected backup strategy and will stay there until they are manually deleted.
  2. Snapshots have a description which is the parameter for option -M. This description is appended at the end of the backup directory name.

This allows to create a snapshot besides the usual backup and you can use the description to remember the purpose of the snapshot. That's convenient if you plan a software update or any other major change of your system. If the update fails then you can restore the snapshot easily and start over. If the update was successful delete the snapshot in the backup directory.

 

There is also a Youtube video available which explains raspiBackup snapshots and includes a demo.

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

Invocationsyntax and -options

raspiBackup has to be invoked as user root or with sudo. The invocation syntax is

raspiBackup.sh Option1 Option2 Option3 ... backupdirectory 
and starting with Release 0.6.6 you can omit the extension .sh
 

raspiBackup Option1 Option2 Option3 ... backupdirectory

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

raspiBackup until now supported RaspbianOS only. Raspberries 4B with 8GB and Raspberries 400 allow to install Ubuntu as operating system and it's  heavily used. That's why raspiBackup will support Ubuntu Desktop and Ubuntu Server in next release.

I fortunately was able to buy a 8GB Raspi from the donations I got for raspiBackup to add and test the support for Ubuntu. 

Release 0.6.9 was published today (11/19/2023) and now raspiBackup supports also Ubuntu.

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

Visit this page to get a ligh level overview about raspiBackup. Much more details you will find here.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

I just got a CM4 donated with 1GB main memory, 32GB eMMC and 128 GB NVMe. Thank you very much to the donator!

CM4 was already supported by raspiBackup but only running from a SD card, eMMC or USB boot. It's already possible to use NVMe when it's provided in an USB plug because it's exposed as a normal disk as /dev/sdx but there was no way to have NVMe plugged in in the PCI lane exposed as /dev/nvme.  Now I fortunately was able to add  this support to raspiBackup. This support is available now in release 0.6.8.

 CM4Parts

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

raspiBackup - Supported hardware and software

 

raspiBackup is supported with RaspbianOS and Uvuntu and Raspberry hardware only. But raspiBackup can also be used successfully on different Raspberry compatible hardware with different Linux distributions. But note raspiBackup requires the /boot and /root partition used in RaspbianOS.

Just test raspiBackup on your environment and be happy if it works. But if it fails or you get error messages there is no support. You may create an issue in github and append the debug log and I will check whether the issue is minor and it's a low hanging fruit. But in any case the environment is unsupported.

 

Given the fact raspiBackup is maintained and supported for free

1) It's too expensive for me to buy all possible hardware required for tests

2) it's too expensive for me to setup and execute all test combinations

3) it's to expensive for me to execute all tests every time a new release will be published.

raspiBackup checks whether it's running on a supported hard- and software and terminates if it's unsupported. Use option --unsupportedEnvironmentto disable this check.

 

Subcategories