Technology

Raspberry Pi – Online/Hot/Live Backup to FTP Server

Install Curl via FTP File system and make dir to mount:

apt-get install curlftpfs
mkdir /media/server

MOUNT ftp File system to dir:

curlftpfs -o allow_other -o umask=000 user:password@192.168.1.31 /media/server

Execute backup all file system to ftp in image file:

dd bs=1M if=/dev/mmcblk0 of=/media/server/rasp-smartgrid-tf-05-08-2015-OK.img

Description :
ftp server : 192.168.1.31
ftp username : user
ftp password : password
ftp mount point : /media/server
input file : /dev/mmcblk0 (which is the sd card partition)
output file : /media/server/rasp-smartgrid-tf-05-08-2015-OK.img

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s