Schedule Automated Backups(Linux) Privately to Github in 3 Simple Steps

Schedule Automated Backups(Linux) Privately to Github in 3 Simple Steps

Schedule automated backups(Linux) to github privately in 3 simple steps. A simple to do is copy the files that I needed to auto-backup, into /opt/j4x0n folder, and it will be auto-backed up at every reboot. So I was step up this new VM and GitHub spend almost my whole day in copying my files from previous installation to this new one.

So I was setting up this new VM and spend almost my whole day in copying my files from previous installation to this new one… Now, as for me… I am a little curious for trying up new things to see how they act out. Sometimes I don’t even see that I am using my actual machine to try those stuff out… And VMs end up crashing, as of me hindering with those config files at a regular intervals. So, I wanted there to be a system that whenever I install a new VM. I could easily just copy paste my previous machine state to my new state.

Pro Tip: Yeaps I tend to use a lot more VMs than to setup a whole new system, where I have some constant data of more than 100GB including games, torrent, tools etc. F. 100GB backups to cloud!! If those 100GB things could stay constant on host, then crashing VMs will not be a problem for me lol.

Also, there may be a feature to auto create a snapshot of a VM in VMware at regular intervals, but I am pretty sure I am not aware of it (not yet). And, I am ok to not work with a whole file system image and then carrying it over to my new devices via pendrives, HDDs etc. (coz again… uploading common OS files(/bin, /run, /proc) to cloud is just waste of data and cloud storage).

And hence, I now schedule automatic backups of important files to my private repo on github.

The 1337 Stuff

Starting with creating a private repo on github(It’s entirely your choice if you want them to be public). I created one for me…

Then clone the repo, to your previous installation, to copy the backup files into that repo. I use /opt directory by default to keep my backups and other stuff.

As you see… It asked for a username and password because it was a private repo on my github.

cronjob github auto-backup linux

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

How to Compare Multiple GitHub Projects with Our GitHub Stats tool

In this article we are going to compare three most popular machine learning projects for you.

Hire Dedicated Linux Developer

Looking to develop real-time applications? **[Hire Dedicated Linux Developer](https://hourlydeveloper.io/hire-dedicated-linux-developer/ "Hire Dedicated Linux Developer")** from **[HourlyDeveloper.io](https://hourlydeveloper.io/...

How I Switched from Windows 10 to Linux Mint

This article is all about my journey on switching from Windows 10 to Linux Mint 20, how I got easily adapted to the Linux environment, and some resources that helped me to set up a perfect Desktop environment.

User Administration in Linux - Linux Tutorial - Linux Training

User Administration in Linux - Linux Tutorial - Linux Training

Package Management in Linux - Linux Tutorial - Linux Training

Package Management in Linux - Linux Tutorial - Linux Training