Rasperry pi için birden fazla backup alma yöntemi mevcut söyle ki ;
If you want to preserve all of the data, you will probably have to create a disk image. Furthermore, Windows cannot recognize typical Linux filesystems, so you probably won’t even be able to see your files, when you plug in your SD card.
Creating a disk image will preserve not only files but also the filesystem structure and when you decide to flash your new SD card, you will be able to just plug it in and it will work.
Linux
On Linux, you can use the standard dd tool:
dd if=/dev/sdx of=/path/to/image bs=1M
Where /dev/sdx is your SD card.
Mac
On Mac, you can also use the standard dd tool with a slightly different syntax:
dd if=/dev/rdiskx of=/path/to/image bs=1m
Where /dev/rdiskx is your SD card.
(using rdisk is preferable as its the raw device – quicker)
To find out which disk your device is type diskutil list at a command prompt – also, you may need to be root; to do this type sudo -s and enter your password when prompted.
Windows
Option 1
On Windows, you can use the reverse process that you used when flashing the SD card.
You can use Win32 Disk Imager, which is the preferred tool for flashing a SD card of the Foundation. Just enter the filename, select the device and press read:
Of course, you can also use RawWrite, dd for Windows or similar tools, the process is quite similar.
Option 2
If you don’t want to back up your entire system, but only specific files, I suggest you connect to your Raspberry Pi via SFTP and copy the files to your local computer (You can use the WinScp client). If you have SSH enabled, SFTP usually requires no special configuration on the Raspberry Pi side.
You can also install special drivers so your Windows can read ext filesystems (and will thus be able to read the whole SD card), such as ext2fsd but it is probably not worth the effort.
I would recommend looking into the “dd” command on your Ubuntu installation, but be incredibly careful with it as it has the potential to destroy data if used incorrectly. Backup first!
In general, the command is used like so, where DISK is the device name such as sdc and where YOURUSER is your username:
sudo dd if=/dev/DISK of=/home/YOURUSER/backup.img
This example would backup your stick to your home directory. You would then write the image back to another stick with a command like:
sudo dd if=/home/YOURUSER/backup.img of=/dev/DISK
For more specific details, see the man page for dd, or look it up on the Ubuntu wiki.
Bilgisayar Mühendisi ve Ekonomist
1982 yılında İstanbul Fatih'te doğdum. Bilişim teknolojileri alanında AR-GE çalışmaları yapıyor, özel bir şirkette SAP SE ERP sistemleri üzerine proje yöneticisi olarak görev alıyorum.
Teknolojiye olan ilgim, uçak teknolojileri ve özellikle jet motorlarına yönelmiş durumda. Aynı zamanda SoloTürk hayranıyım ve iyi bir drone pilotuyum. Fenerbahçe Spor Kulübü üyesiyim ve teknoloji merakımı, özellikle bu alandaki deneyimlerimi paylaşmayı amaçlıyorum. Teknolojik ürünler ve yeniliklerle ilgili bilgileri paylaşarak, bu alandaki tutkumuzu geniş bir kitleye ulaştırmayı hedefliyorum.
Felsefi olarak bilginin doğru yönetilmesi gerektiğine inanıyor ve metafiziğe olan ilgimi de ilim ve bilimle harmanlıyorum. Elektrikle çalışan her şey hakkında düşünmeyi ve beyin fırtınası yapmayı sevenlerle bilgi paylaşımı yapmaktan keyif alıyorum.
Daha fazla bilgi için blog.karadere.com adresinden takip edebilirsiniz.
Çağrı Kodu: TA1HKB
Kod Adı: Burhan_07
Nickname: Swish_+
Oca 26 2016
Rasperry Pi Backup alma yöntemleri
Paylaş.
Kaynak : http://raspberrypi.stackexchange.com/questions/311/how-do-i-backup-my-raspberry-pi
Rasperry pi için birden fazla backup alma yöntemi mevcut söyle ki ;
If you want to preserve all of the data, you will probably have to create a disk image. Furthermore, Windows cannot recognize typical Linux filesystems, so you probably won’t even be able to see your files, when you plug in your SD card.
Creating a disk image will preserve not only files but also the filesystem structure and when you decide to flash your new SD card, you will be able to just plug it in and it will work.
Linux
On Linux, you can use the standard
dd
tool:Where
/dev/sdx
is your SD card.Mac
On Mac, you can also use the standard
dd
tool with a slightly different syntax:Where
/dev/rdiskx
is your SD card.(using rdisk is preferable as its the raw device – quicker)
To find out which disk your device is type
diskutil list
at a command prompt – also, you may need to be root; to do this typesudo -s
and enter your password when prompted.Windows
Option 1
On Windows, you can use the reverse process that you used when flashing the SD card.
You can use Win32 Disk Imager, which is the preferred tool for flashing a SD card of the Foundation. Just enter the filename, select the device and press read:
Of course, you can also use RawWrite,
dd
for Windows or similar tools, the process is quite similar.Option 2
If you don’t want to back up your entire system, but only specific files, I suggest you connect to your Raspberry Pi via SFTP and copy the files to your local computer (You can use the WinScp client). If you have SSH enabled, SFTP usually requires no special configuration on the Raspberry Pi side.
Another option is to copy the files to a remote system using rsync.
You can also install special drivers so your Windows can read
ext
filesystems (and will thus be able to read the whole SD card), such asext2fsd
but it is probably not worth the effort.Windows ie DD den backup almak
http://www.chrysocome.net/dd
Ek kaynaklar : https://www.raspberrypi.org/forums/viewtopic.php?f=5&t=5947
I would recommend looking into the “dd” command on your Ubuntu installation, but be incredibly careful with it as it has the potential to destroy data if used incorrectly. Backup first!
In general, the command is used like so, where DISK is the device name such as sdc and where YOURUSER is your username:
sudo dd if=/dev/DISK of=/home/YOURUSER/backup.img
This example would backup your stick to your home directory. You would then write the image back to another stick with a command like:
sudo dd if=/home/YOURUSER/backup.img of=/dev/DISK
For more specific details, see the man page for dd, or look it up on the Ubuntu wiki.
Let us know how you get on.
By Burhan KARADERE • 2015 - 2016 • 0 • Tags: alma yöntemleri, backup, rasperry pi