cancel
Showing results for 
Search instead for 
Did you mean: 
jeesshnasree
Starfighter Starfighter
Starfighter
  • 898 Views

specific logs are require to backup on linux OS

Hi team, 

 

if any one knows could you please share :

 

nearly number of folders ( around 70) and but i need to take backup 30 folders and remain not required . how to use the command for take backup at a time and any specific method .( its general question and no scenario for logs to share here ) .

0 Kudos
1 Reply
Ravi_PMP
Flight Engineer Flight Engineer
Flight Engineer
  • 885 Views

tar --exclude='./folder' --exclude='./upload/folder2' -zcvf /backup/filename.tgz 

Certifications:
***********
RedHat: RedHat Certified Engineer (RHCE)
RedHat: Redhat Certified Specialist (Ansible)
PMI: Project Management Professional (PMP)
Offensive Security: Offensive Security Certified Professional (OSCP)
Commvault: Commvault Certified Professional + Master (CCP)
ISACA: Certified Information Security Auditor (CISA)
ISACA: Certified Information Security Manager (CISM)
***********
0 Kudos
Join the discussion
You must log in to join this conversation.