Results 1 to 8 of 8
Like Tree1Likes
  • 1 Post By edogg
Discuss Backup Raspberry Pi at the Linux Section within the DigitalWorldz - Satellite, Cable, Console Forums; Hello, So I can use this command dd if=/dev/sdx of=/path/to/image bs=1M to take a full backup of the SD card that has the OS installed for my raspberry pi. What I need help with is: ...
  1. #1
    VIP Member
    Join Date
    Apr 2006
    Location
    Auckland, New Zealand
    Posts
    1,153
    Downloads
    0
    Uploads
    0

    Backup Raspberry Pi

    Hello,

    So I can use this command
    dd if=/dev/sdx of=/path/to/image bs=1M

    to take a full backup of the SD card that has the OS installed for my raspberry pi.
    What I need help with is:

    How do I find out what /dev/sdx (location of SD card) actually is?
    Where would be the best place to backup to - /path/to/image - the SD card is 8gb so I can just write it back to itself in a way.
    I would like to CRON it, I assume once I get the line correct and confirm its working, I can just CRONTAB that line?

    Linux very new to me, would appreciate the help.
    Cheers



  2. #2
    VIP Member
    Join Date
    Sep 2007
    Posts
    1,670
    Downloads
    3
    Uploads
    0

    Re: Backup Raspberry Pi

    Quote Originally Posted by Shindig View Post
    Hello,

    So I can use this command
    dd if=/dev/sdx of=/path/to/image bs=1M

    to take a full backup of the SD card that has the OS installed for my raspberry pi.
    What I need help with is:

    How do I find out what /dev/sdx (location of SD card) actually is?
    Where would be the best place to backup to - /path/to/image - the SD card is 8gb so I can just write it back to itself in a way.
    I would like to CRON it, I assume once I get the line correct and confirm its working, I can just CRONTAB that line?

    Linux very new to me, would appreciate the help.
    Cheers
    use dmesg or sudo fdisk -l to get info on your attached storage. sd card will probably be /dev/sdb
    also you can look in /var/log/messages to find out the sdcard dev name

    also be careful with dd command when selecting the output device you want to backup to
    Last edited by jfish; 18th July 2012 at 10:17.

  3. #3
    The Oracle
    Join Date
    Dec 2011
    Location
    North Yorkshire
    Posts
    4,443
    Images
    5
    Downloads
    1
    Uploads
    2

    Re: Backup Raspberry Pi

    Would it not be better to back it up to another card?

  4. #4
    VIP Member
    Join Date
    Apr 2006
    Location
    Auckland, New Zealand
    Posts
    1,153
    Downloads
    0
    Uploads
    0

    Re: Backup Raspberry Pi

    If I could CRON it to a windows share that would be ace.
    I assume I have to mount a windows share first?

  5. #5
    The Oracle
    Join Date
    Dec 2011
    Location
    North Yorkshire
    Posts
    4,443
    Images
    5
    Downloads
    1
    Uploads
    2

    Re: Backup Raspberry Pi

    Yes, then you can add the Windows share to fstab and off you go

    You'll have to install the Samba client obs...

  6. #6
    VIP Member
    Join Date
    Apr 2006
    Location
    Auckland, New Zealand
    Posts
    1,153
    Downloads
    0
    Uploads
    0

    Re: Backup Raspberry Pi

    I gave up when getting to the windows share side of it... jee its tought stuff!
    Anyway I grabbed this util and popped the SD card hosting the OS in my laptop. Took an image of it... and did a restore.
    I appreciate you get downtime but it works as a one off once a month or so.

    HDDGURU: HDD Raw Copy Tool

  7. #7
    DW Jnr Member
    Join Date
    Dec 2005
    Posts
    38
    Downloads
    0
    Uploads
    0

    Re: Backup Raspberry Pi

    This is what I did to back-up my card after setting things up, I used linux.

    First you can even create swap if you want on your card before backing -up, I used gprated to create linux-swap space on the free space on the card, then.

    Code:
    Only registered members can view code.

  8. #8
    VIP Member
    Join Date
    Feb 2006
    Posts
    3,085
    Blog Entries
    1
    Downloads
    14
    Uploads
    2

    Re: Backup Raspberry Pi

    I know this is an old post but people (like me ) are still getting these RPi's you can use win32diskimager to read the sdcard onto a windows computer(backup) and then write it to another card or even the same card it is the recommended way to write the image to a sdcard by the RPi forums


    Him Her likes this.

Similar Threads

  1. Backup DVD
    By ally008 in forum Burning CDR + DVDR
    Replies: 4
    Last Post: 27th December 2008, 15:19
  2. Backup support req'd
    By MagicDave in forum Burning CDR + DVDR
    Replies: 3
    Last Post: 5th February 2002, 02:41
  3. ar2 backup
    By pmuff in forum PS2 Forum
    Replies: 3
    Last Post: 21st January 2002, 03:31
  4. does action replay v2 play backups
    By ronnie in forum PS2 Forum
    Replies: 2
    Last Post: 14th December 2001, 08:03
  5. how to backup karaoke cd/g
    By TURTS in forum Burning CDR + DVDR
    Replies: 8
    Last Post: 4th December 2001, 08:48

Visitors found this page by searching for:

raspberry pi backup sd card mac

raspberry pi backup

backup raspberry pi image

sudo dd if=pibackup.img

raspberry pi sd image backup

raspberrypi sd backup

raspberry pi immagine sd card mac

backup raspberry pi sd card mac

raspberry sd backup howto

raspberry sd karte backup mac

backup raspberry pi mac os

raspberry backup of sd card mac

raspberry pi backup sd card

raspberry backup using a mac

raspberry pi backup sd

raspberry sd backup

backup raspberry PI

backing up raspberry image from sd card

raspberrypi backup

backup raspberry

raspberry find out sdcard sdx

mac backup raspberry pi

raspberry pi záloha image

raspberry pi backup mac

raspberry backup

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright Digitalworldz 2013