Re: Backup solution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have another solution in my mind:

a-formating my backup storage with file system (btrfs/ext4/whatever)
and mounting it as backup destination
b-making a sparse file in it with truncate(1)
c-formating sparse file with btrfs to be used as "archive file system"
(with compression, checksumming, trim enabled)
d-mounting sparse file and rsync my data to it (rsync will preserve
ACLs/xattrs) then unmount "archive file system"
e-unmount underlying file system of backup storage destination

I tested it out and it works
In the case you modified the "archive file system" and you want to
trim it and re-punch holes in it you can:
a-mount it, fstrim it, unmount it
b-dd if=sparse_file of=new_sparse_file conv=sparse
c-mount it, fstrim it again(not sure why, but it my test it is
needed!?), unmount it

do this method is safe? do it has any draw backs?
again, Any advice would be most welcome

Thanks

On Wed, Dec 3, 2014 at 12:47 AM, Patrick O'Callaghan
<pocallaghan@xxxxxxxxx> wrote:
> On Tue, 2014-12-02 at 18:24 +0100, Heinz Diehl wrote:
>> On 02.12.2014, Ali AlipourR wrote:
>>
>> > I need some advice on Backup solutions, what is your personal methods
>> > and solutions?
>>
>> rsync -avxHSAX /source/ /target
>>
>> You can even use it to move a complete installation to another disk,
>> just exchange source with target. It's fast, easy and reliable.
>
> yum install rsnapshot
>
> Does all the above but is designed to run regularly from cron and keep
> backups at daily, weekly and monthly intervals (which obviously you can
> change). Backup generations use hard links where possible to save space.
>
> poc
>
> --
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux