New IT forum Follow us on Twitter
21 May 2012, 05:06:33 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: EFIKA MX now in stock!
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Backup internal SD card on the dreamplug  (Read 1382 times)
serond
Newbie
*
Posts: 1


« on: 03 June 2011, 08:47:04 pm »

Hi,

To backup the internal sd card, is the only way to remove it and do a backup on another machine?

I do got a separate external SD card but don't know if this can be used to boot from instead of the internal one.
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #1 on: 04 June 2011, 08:47:51 am »

Hi,

To backup the internal sd card, is the only way to remove it and do a backup on another machine?

Conceptually, there are 2 methods of backing up an SD card:

  • Copy the entire SD card (as a device, not partition(s)) to an SD card image file
  • Copy specific (or all) files and directories, as files and directories

The first method is only appropriate when the SD card is not mounted. Therefore, to copy your internal micro-SD card in this way you should boot from an external device (e.g. USB stick, or USB / eSATA hard drive), or remove the micro-SD card to copy it using another PC or device. Then use dd to copy. (dd can also be used to copy at the partition level, instead of device level, but that is a variation of this method).

The second method requires that the micro-SD card be mounted, and would allow you to specify only certain parts of your filesystem to be backed up - for instance /home. It is not recommended that the files you are copying be open at the time of the copy, but if you have a clear idea of what files you are copying you can take steps to close them beforehand.

The dd method is popular and simple, and is practical so long as SD card sizes remain a fraction of the size of other storage devices. If the time comes that you have a 256G SD card, you'll probably be looking towards some sort of mirroring or variation of the second method.

I do got a separate external SD card but don't know if this can be used to boot from instead of the internal one.

There are threads here that discuss booting from alternate devices. This requires changes to environment variables, therefore you must have a JTAG unit. See the Dreamplug booting board or here
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!