Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
Since a cople of weeks I own a Raspberry Pi. It's a nice toy. On one SD I installed XBMC. The other one has Raspbian. It took some time for me to get the Realtek 8192 USB WLAN stick to work. Now everything works fine.
 
Unfortunately I just got a kernel panic when I restarted the Pi. It's because I unplugged the power cable to restart the Pi quickly. Until now that's the way I did it until now and it worked fine. Even this tiny raspberry should be shut down the controlled way. Actually this was no big deal to recover: I plugged the SD card into a crad reader, connected it on my linux labtop and ran fsck on both partitions. Then my Pi started successfully again. 
 
 
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>
Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

I recently had to restore a backup created by a rsync backup created by raspiBackup because my SD card died. The restore was successfull but NetworkManager didn't start :-(. With sudo journalctl -n 100 -u NetworkManager.service I detected the error message

/usr/sbin/NetworkManager: error while loading shared libraries: libhogweed.so.4: cannot open shared object file: No such file or directory

It took me a while to find the root cause of the issue. Finally it's not an issue with raspiBackup but with librtmp1 and the way it's packaged in RaspbianOS.

 

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

If there is no specific question about raspiBackup to be asked on the respective website, general questions can be asked here. If there is a special page for the question, it will be referred to and

after the question was asked there again, answered there.

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. Today raspiBackup has about 8000 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 22-04, 23-04 and 23-10

Subcategories