Task - Data Backup for Developer
Problem:
Within the Stratos DC, the Nautilus storage server hosts a directory named
/data
, serving as a repository for various developers non-confidential data. Developerravi
has requested a copy of their data stored in/data/ravi
. The System Admin team has provided the following steps to fulfill this request:a. Create a compressed archive named
ravi.tar.gz
of the/data/ravi
directory.b. Transfer the archive to the
/home
directory on the Storage Server.
Please ensure to review the task instructions carefully and modify the commands according to your specific server, username, and other relevant details.
Solution:
ssh into the
storageserver
cd /data/ravi
Create
gz
file using the below commandsudo tar -czvf ravi.tar.gz /data/ravi
tar
: The command to create and manipulate archive files.-c
: Create a new archive.-z
: Compress the archive using gzip.-v
: Verbosely list files processed.-f
: Specify the filename of the archive.
Now, we have created a compressed file, Copy the compressed file to the specified location.
cp ravi.tar.gz /home/
Verify:
cd /home
ls -lrt
You should see the archive file here in under /home
directory
About me:
Hi, I am Sachin Khamitkar and I am a passionate devops engineer and an Expert Support Engineer. As a DevOps enthusiast and technology fan, I am passionate about automating workflows, optimizing infrastructure, and improving deployment processes. I love sharing insights on cloud strategies, containerization, and continuous delivery. With 6 years of experience in Technical and Application Support, I have a strong foundation in DevOps practices. I excel in root cause analysis, SLA adherence, and enhancing software stability. My skills include log analysis, SQL reporting, and CI/CD pipeline optimization. I have a proven track record in deploying builds, patches, and maintaining production environments. Additionally, I bring expertise in incident, problem, and change management following ITIL standards. If you're as excited about DevOps as I am, let's connect ๐ me on LinkedIn๐๐ผ, GitHub๐ป๐, and Email๐ง for more tech tips, tutorials, and exciting projects! Let's innovate together and drive the future of DevOps! ๐๐ฉโ๐ป๐ก
Subscribe to my newsletter
Read articles from Sachin Khamitkar directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Sachin Khamitkar
Sachin Khamitkar
Hi there, I am a learner first and then an IT enthusiast. I have started exploring and ocean of DevOps Tools and tech.