Note: - This #script does not change the way your dataset is in #ArcGIS Online!
Often times, you'll need to have or build a back-up of your datasets in ArcGIS. Data can be lost in various ways but being sure that you have a back-up ensures a smooth operation in your organization. Building a back-up can be achieved in many ways. The choice solely depends on you and it is limited by how much skilled you're.
Here, let's not be limited, we can utilize a simple script to go over.