Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] duplicate/clone an xbian installation
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: duplicate/clone an xbian installation
1st Aug, 2013, 01:21 AM
Post: #26
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: duplicate/clone an xbian installation
(29th Jul, 2013 10:50 PM)zilexa Wrote:  edit: after reading Fred's post and link I will definitely try rsync. Although creating a backup on the device I want to backup just sounds wrong to me (especially after reading mk01's comment above that post "after one run, run it one more time to copy changes from time during the copy and you are ready.")

the question "why I'm making backup", "for what purpose" must be answered before we choose a strategy.

using snapshots is a excellent way to freeze system / data state at specific point (for example before system upgrade / update). it takes seconds, rollback seconds again. imagine you would sector copy 64GB card each time you run apt-get.

rsync can provide something like incremental backups to extern media, providing backup again media failure - much more efficient as dd. and again, using dd on mounted filesystem can never lead to a atomic and 100% healty copy. it could not on ext2/3/4 and definitely can't on btrfs.

if you are lazy (i'm lazy too), use the shift key "hack" to drop down to initramfs before the rootfs is mounted. that way you can use even dd on btrfs and the copy will work.

or, it's worth try remouting the rootfs as RO, with:

"mount -o remount,ro /"

and do the dd copy as always.

taking into account we are on btrfs, use the native send/recv commands to sends snapshot data from one btrfs/subvolume to another. it's atomic, can be done on RW mounted and used filesystem, will copy only the data (as rsync) and natively supports increments (differences between snapshots). it can be used to local media as well as via network to another system with btrfs support making instant duplicate ready to be used on the other system.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
duplicate/clone an xbian installation - captainsammitch - 10th May, 2013, 06:03 AM
RE: duplicate/clone an xbian installation - rikardo1979 - 10th May, 2013, 06:14 AM
RE: duplicate/clone an xbian installation - rikardo1979 - 10th May, 2013, 06:32 AM
RE: duplicate/clone an xbian installation - captainsammitch - 10th May, 2013, 07:01 AM
RE: duplicate/clone an xbian installation - captainsammitch - 11th May, 2013, 04:20 AM
RE: duplicate/clone an xbian installation - rikardo1979 - 11th May, 2013, 04:22 AM
Re: RE: duplicate/clone an xbian installation - kas_27_es - 17th May, 2013, 03:04 PM
duplicate/clone an xbian installation - Koenkk - 17th May, 2013, 03:32 PM
RE: duplicate/clone an xbian installation - kas_27_es - 17th May, 2013, 04:47 PM
RE: duplicate/clone an xbian installation - mk01 - 19th May, 2013, 09:01 AM
Re: RE: duplicate/clone an xbian installation - kas_27_es - 20th May, 2013, 03:36 PM
RE: duplicate/clone an xbian installation - mk01 - 20th May, 2013, 06:32 PM
RE: duplicate/clone an xbian installation - effemmeffe - 29th May, 2013, 07:10 PM
RE: duplicate/clone an xbian installation - mk01 - 2nd Jun, 2013, 04:44 AM
RE: duplicate/clone an xbian installation - effemmeffe - 2nd Jun, 2013, 06:27 AM
RE: duplicate/clone an xbian installation - rikardo1979 - 2nd Jun, 2013, 06:58 AM
RE: duplicate/clone an xbian installation - mk01 - 13th Nov, 2013, 10:17 AM
RE: duplicate/clone an xbian installation - effemmeffe - 2nd Jun, 2013, 07:05 AM
RE: duplicate/clone an xbian installation - rikardo1979 - 2nd Jun, 2013, 07:11 AM
RE: duplicate/clone an xbian installation - effemmeffe - 2nd Jun, 2013, 07:23 AM
RE: duplicate/clone an xbian installation - mk01 - 2nd Jun, 2013, 08:07 AM
RE: duplicate/clone an xbian installation - Karen Pollard - 31st Oct, 2013, 01:54 AM
RE: duplicate/clone an xbian installation - kas_27_es - 29th Jul, 2013, 02:32 AM
RE: duplicate/clone an xbian installation - kraleksandr - 29th Jul, 2013, 05:15 AM
RE: duplicate/clone an xbian installation - kas_27_es - 29th Jul, 2013, 06:01 AM
RE: duplicate/clone an xbian installation - Fred - 29th Jul, 2013, 06:13 AM
RE: duplicate/clone an xbian installation - zilexa - 29th Jul, 2013, 10:50 PM
RE: duplicate/clone an xbian installation - mk01 - 1st Aug, 2013 01:21 AM
RE: duplicate/clone an xbian installation - belese - 31st Oct, 2013, 02:44 AM
RE: duplicate/clone an xbian installation - Exnor - 4th Nov, 2013, 11:30 AM
RE: duplicate/clone an xbian installation - IriDium - 5th Nov, 2013, 03:21 AM
duplicate/clone an xbian installation - mk01 - 5th Nov, 2013, 08:35 PM
RE: duplicate/clone an xbian installation - Exnor - 5th Nov, 2013, 11:43 PM
RE: duplicate/clone an xbian installation - mk01 - 6th Nov, 2013, 02:43 PM
RE: duplicate/clone an xbian installation - Exnor - 7th Nov, 2013, 01:25 AM
RE: duplicate/clone an xbian installation - effemmeffe - 13th Nov, 2013, 06:09 PM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Duplicate Movie Entries in Library Altin 2 10,626 18th Jun, 2013 07:04 AM
Last Post: mk01

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 24th May, 2025, 11:02 AM Powered By MyBB, © 2002-2025 MyBB Group.