Guide: Disk-Level Backup of your DashBox
Posted: Mon Oct 26, 2015 12:51 pm
This backup method can be used to take a disk-level backup. It requires a full shutdown of th e DashBox.
For live backups use the Backup Tool listed at (http:///www.brultech.com/software).
Backup Instructions
- Unplug the DashBox until the LED goes out completely first.
Storage Location
- Grey case, the storage is not exposed on this device. In order to backup your unit, you'll have to remove the USB-side case cover.
- Black case, the storage is exposed through the back cover plate, you can just pop it out.
Required Devices
- Micro-SD or SD card reader
- If using an SD card reader, use a Micro-SD to SD card converter.
Windows
NOTE: Windows will not be able to recognize the partition, click "No" to the message asking to format the card.
Download Win32DiskImager (http://sourceforge.net/projects/win32diskimager/)
1) Unplug the DashBox and wait for the LED to go fully out. Remove the MicroSD card and insert it into your PC.
2) Insert the MicroSD card into your PC. Cancel and ignore any prompts asking to format due to corruption.
- Windows will not be able to read the database partition on the card due to it being formatted for EXT4.
3) Select a folder where you want to store your backup, add a file name of your choice.
4) Select the Drive name from the top-right dropdown box.
5) Click the "Read" button.
The "Read" button will take a byte-for-byte image of the MicroSD card. This image can be written to a new card.
To write the image to the new card.
1) Insert the new MicroSD card into the PC.
2) Select the image you've read from the old MicroSD above in Win32DiskImager.
3) Confirm you have the right drive-letter.
4) Click the "Write" button. The "Write" button will take the image and write it to the MicroSD card.
5) Remove the MicroSD card from the PC, insert it into the DashBox, and plug it in.
Linux/Mac
Easiest way is likely to use "dd" from console.
1) First figure out what the sd-card was mounted as.
2) Use the dd command,
backup: dd if=/dev/<mount-name> of=/path-to-backup/backup-20151026.img
restore: dd if=/path-to-backup/backup-20151026.img of=/dev/<mount-name>
SD Card Expansion
If upgrading to a larger card, the DashBox can automatically expand the cards size to take up the entire size of the new SD card. Once the DashBox is fully booted with the new card follow these steps:
1) Go to http://dashbox-ip/system/sd.php (replace dashbox-ip with the IP address of your DashBox).
2) Click the "Expand SD Card" button.
3) The DashBox will reboot, expand the SD card, then boot normally.
4) Check the Header or Status section to make sure it shows the new free space.
5) If migrating due to your MicroSD card being full, you may need to turn Data Logging back on under Settings->System->Admin Settings.
For live backups use the Backup Tool listed at (http:///www.brultech.com/software).
Backup Instructions
- Unplug the DashBox until the LED goes out completely first.
Storage Location
- Grey case, the storage is not exposed on this device. In order to backup your unit, you'll have to remove the USB-side case cover.
- Black case, the storage is exposed through the back cover plate, you can just pop it out.
Required Devices
- Micro-SD or SD card reader
- If using an SD card reader, use a Micro-SD to SD card converter.
Windows
NOTE: Windows will not be able to recognize the partition, click "No" to the message asking to format the card.
Download Win32DiskImager (http://sourceforge.net/projects/win32diskimager/)
1) Unplug the DashBox and wait for the LED to go fully out. Remove the MicroSD card and insert it into your PC.
2) Insert the MicroSD card into your PC. Cancel and ignore any prompts asking to format due to corruption.
- Windows will not be able to read the database partition on the card due to it being formatted for EXT4.
3) Select a folder where you want to store your backup, add a file name of your choice.
4) Select the Drive name from the top-right dropdown box.
5) Click the "Read" button.
The "Read" button will take a byte-for-byte image of the MicroSD card. This image can be written to a new card.
To write the image to the new card.
1) Insert the new MicroSD card into the PC.
2) Select the image you've read from the old MicroSD above in Win32DiskImager.
3) Confirm you have the right drive-letter.
4) Click the "Write" button. The "Write" button will take the image and write it to the MicroSD card.
5) Remove the MicroSD card from the PC, insert it into the DashBox, and plug it in.
Linux/Mac
Easiest way is likely to use "dd" from console.
1) First figure out what the sd-card was mounted as.
2) Use the dd command,
backup: dd if=/dev/<mount-name> of=/path-to-backup/backup-20151026.img
restore: dd if=/path-to-backup/backup-20151026.img of=/dev/<mount-name>
SD Card Expansion
If upgrading to a larger card, the DashBox can automatically expand the cards size to take up the entire size of the new SD card. Once the DashBox is fully booted with the new card follow these steps:
1) Go to http://dashbox-ip/system/sd.php (replace dashbox-ip with the IP address of your DashBox).
2) Click the "Expand SD Card" button.
3) The DashBox will reboot, expand the SD card, then boot normally.
4) Check the Header or Status section to make sure it shows the new free space.
5) If migrating due to your MicroSD card being full, you may need to turn Data Logging back on under Settings->System->Admin Settings.