Results 1 to 10 of 10

Thread: about backing up

  1. #1
    Join Date
    Mar 2011
    Location
    Istanbul, Turkish Republic
    Posts
    46

    Default about backing up

    Dear all,
    I would like to back up my files (HOME folder, DOCUMENTS folder, .thunderbird folder, DOWNLOADS folder) to my external hard disk (NTFS format). However, backing up fails and I see that the destination archive file is 4.0 GB large. When I attempt to open it, it gives an error message.
    The alternatives I think of are like these:
    1) Purchasing a new external hard disk and formatting it as EXT4.
    2) Finding a good backup program and use it.
    3) Right now I am using tar command.
    Thank you,
    BA

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: about backing up

    On 2012-03-20 16:26, bakkurt wrote:
    >
    > Dear all,
    > I would like to back up my files (HOME folder, DOCUMENTS folder,
    > .thunderbird folder, DOWNLOADS folder) to my external hard disk (NTFS
    > format). However, backing up fails and I see that the destination
    > archive file is 4.0 GB large.


    You don's say how you do that. Post the exact command you use.

    > When I attempt to open it, it gives an
    > error message.


    And the error is... :-?

    --
    Cheers / Saludos
    Carlos E. R.
    (training machine)

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,763
    Blog Entries
    14

    Default Re: about backing up

    A couple of things to add to Carlos' post:

    - tar will give you one big file, why not backup files and folders "as is" ?
    - luckybackup, backintime do a very nice job, AFAIK they both have compression and shapshot options as well.
    - Yes, if money is not an issue, I'd go for an extra disk, format with ext4 and then use one of the two mentioned above.

    But please, be as clear as possible about what you want, post as much accurate info as you can, include openSUSE version, desktop used, 32/64bit etc.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    289

    Default Re: about backing up

    Quote Originally Posted by bakkurt View Post
    Dear all,
    I would like to back up my files (HOME folder, DOCUMENTS folder, .thunderbird folder, DOWNLOADS folder) to my external hard disk (NTFS format). However, backing up fails and I see that the destination archive file is 4.0 GB large. When I attempt to open it, it gives an error message.
    The alternatives I think of are like these:
    1) Purchasing a new external hard disk and formatting it as EXT4.
    2) Finding a good backup program and use it.
    3) Right now I am using tar command.
    Thank you,
    BA
    Yes, your backup disk needs to be formatted for Linux/Unix such as with EXT4. Otherwise, you will not be able to preserve your permissions, etc.

    I recommend that you use rsync to backup. For example, I have a USB drive (9e9f221a-65a5-4a6a-8e5f-0c5fd80b0d06) to which I backup my entire file system as follows:

    Code:
    rsync -vaHx --numeric-ids --exclude='/home/*/.gvfs' --delete / /media/9e9f221a-65a5-4a6a-8e5f-0c5fd80b0d06/USB_BACKUP_DIRECTORY/
    To just backup your /home/ folders then try this example:

    Code:
    rsync -vaHx --numeric-ids --exclude='/home/*/.gvfs' --delete /home/  /media/9e9f221a-65a5-4a6a-8e5f-0c5fd80b0d06/USB_BACKUP_DIRECTORY/home/
    These are just some examples. You can also write rsync scripts to backup to other Linux/Unix machines over both local networks and remotely over the internet.

    Gordon
    Laptop #1: OpenSUSE Leap 15.0 (x86_64) | HP ZBook 17 G2 (17")
    Laptop #2: OpenSUSE Leap 15.0 (x86_64) | System76 Darter (14")

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,763
    Blog Entries
    14

    Default Re: about backing up

    rsync is what is being used by luckybackup and backintime, they just provide a nice GUI to set a lot of rsync options
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    289

    Default Re: about backing up

    The cool thing about rsync is that it only backups up the files that have changed. Therefore, once you do your initial backup then all subsequent backups are very fast.
    Laptop #1: OpenSUSE Leap 15.0 (x86_64) | HP ZBook 17 G2 (17")
    Laptop #2: OpenSUSE Leap 15.0 (x86_64) | System76 Darter (14")

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: about backing up

    On 2012-03-20 22:46, gldickens3 wrote:
    > Yes, your backup disk needs to be formatted for Linux/Unix such as with
    > EXT4. Otherwise, you will not be able to preserve your permissions,
    > etc.


    Except if he is using tar or cpio, for example.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  8. #8
    Join Date
    Mar 2011
    Location
    Dhaka, Bangladesh
    Posts
    42

    Default Re: about backing up

    If you have to exclude a bunch of folders from your backup, then nice trick will save you from writing a long command. Say you want to exclude all cache, trash, your dropbox content, virtual vm etc from your backup. create a text file & and write this.

    Code:
    **/*cache*/
    **/*Trash*/
    **/*Cache*/
    VirtualBox\ VMs/*
    Dropbox/*
    save it as rsync_exclude.txt now run the command

    Code:
    rsync -avrzH --numeric-ids --delete --exclude-from=path_to_rsync_exclude.txt path_to_your_destination_drive
    AMD Phenom II X4 965 Black Edition, Gigabyte GA 880gm-ud2h mobo, 4GB RAM
    with Opensuse 11.4 KDE

  9. #9
    Join Date
    Mar 2011
    Location
    Istanbul, Turkish Republic
    Posts
    46

    Default Re: about backing up

    Hello, according to the replies, I realized that I forgot to write how to back my files up:
    tar -acvf /media/SAMSUNG/barb_yedek/EvYedek/EvYedek21032012.tar.gz <several folders>

  10. #10
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    289

    Default Re: about backing up

    If you want to use tar then you can backup to any disk format including NTFS. So, you should be able to use your existing USB drive which you said was NTFS. You indicated that your backup file size was 4GB and that you were getting an error message. Please paste the entire error message here.
    Laptop #1: OpenSUSE Leap 15.0 (x86_64) | HP ZBook 17 G2 (17")
    Laptop #2: OpenSUSE Leap 15.0 (x86_64) | System76 Darter (14")

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •