I'm running ubuntu servers. I'm using 'rsync' for backing up necessary directories(/usr /var /etc..) to a remote location so that I can immediately come up with the new server in case of system failure. The following is the rsync command:
To save disk space and to easily take and extract rsyncmounts directory, I thought of using 'tar'.
To create the tar file of rsyncmounts directory on the remote machine I used the following command:
tar -cvzf ~/clone.tgz /mnt/rsyncmounts
When I checked extracting it on a virtual machine using the following command, it's extracting under the directory which the tar is created(under /mnt/rsyncmounts) even having it specified to extract under /:
tar -xvpzf ~/clone.tgz -C /
Any tips or tricks to make it extract under the root directory /?
Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.
Little introduction about CP:
CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow:
cp /myfoder /pathto/destination/folder/
cp abc.tar.gz /pathto/destination/folder/ab…
As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system.
The idea is that you insta…