ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Linux - Backup

    IT Discussion
    5
    17
    1.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by

      What is the best way to backup linux? I have a LAMP server running on CentOS7 that I want to backup daily.

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        We use Unitrends for that. But there are lots of options. You can use Unitrends, Veeam, Backup Exec, or any number of commercial backup utilities. Or you could just script it and do it without any external tools.

        1 Reply Last reply Reply Quote 0
        • coliverC
          coliver
          last edited by

          You could use an rsync command with a cron schedule. Although that will be a file level backup so mysql/mariadb may need a different utility.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            MariaDB will do its own backup, via script, to the local disk. Then RSYNC can grab it.

            1 Reply Last reply Reply Quote 1
            • ?
              A Former User
              last edited by

              Doh <_>

              Should have made it clear. I want to backup a Cloud at Cost VPS.....

              coliverC 1 Reply Last reply Reply Quote 0
              • coliverC
                coliver @A Former User
                last edited by coliver

                @Aaron-Studer said:

                Doh <_>

                Should have made it clear. I want to backup a Cloud at Cost VPS.....

                You could do a rsync/cron backup still. I don't think they offer anything like image/VM level backups.

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User
                  last edited by

                  What I would like it something that would email me the backup daily, is will not be very big, less then 10MB.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    You don't want a backup of the entire system, I take it, and just the database?

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      If the above is correct, then this is super ultra simple. Use cron, schedule the MySQL / MariaDB backup job to run daily. Have it compress with gzip. Then mail it to you. You can do that with a single line command. Done.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User
                        last edited by

                        Just anything needed to recover wordpress - all posts, etc.

                        coliverC 1 Reply Last reply Reply Quote 0
                        • coliverC
                          coliver @A Former User
                          last edited by coliver

                          @Aaron-Studer said:

                          Just anything needed to recover wordpress - all posts, etc.

                          Oh, you're doing Wordpress... Have you taken a look at some of the Wordpress plugins for backup?

                          Helpful FAQ article for Wordpress backup: http://codex.wordpress.org/WordPress_Backups

                          1 Reply Last reply Reply Quote 2
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            WordPress has handy utilities that will do that for you.

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User
                              last edited by A Former User

                              I've always used Rsync with cron jobs.

                              scottalanmillerS 1 Reply Last reply Reply Quote 1
                              • scottalanmillerS
                                scottalanmiller @A Former User
                                last edited by

                                @thecreativeone91 said:

                                I've always used Rsync with cron jobs.

                                Those are definitely best for general purpose backups on Linux (or any UNIX.) Works really well.

                                1 Reply Last reply Reply Quote 0
                                • thanksajdotcomT
                                  thanksajdotcom
                                  last edited by

                                  I use Unitrends personally. Works really well although I want to say it's something with indexing I always have to disable because it maxes out CPU usage...

                                  Found the link: http://support.unitrends.com/ikm/questions.php?questionid=378

                                  1 Reply Last reply Reply Quote -1
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    It maxes out the CPU on the Unitrends device or on the machine being backed up? We give Unitrends all the CPU it wants on the backup machine, so it can do all of the work that it needs to do.

                                    thanksajdotcomT 1 Reply Last reply Reply Quote 0
                                    • thanksajdotcomT
                                      thanksajdotcom @scottalanmiller
                                      last edited by

                                      @scottalanmiller said:

                                      It maxes out the CPU on the Unitrends device or on the machine being backed up? We give Unitrends all the CPU it wants on the backup machine, so it can do all of the work that it needs to do.

                                      On the client being backed up. Common issue I've run into several times. The link provides an awesome walkthrough about disabling it.

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post