Bash script help

I'm just trying to [url removed, login to view] a directory: public_html/ and exclude one of it's subdirectories and the files within the subdirectory: store/

I'm trying to do this within a bash script called [url removed, login to view]

Also in the script is a line to dump my database

here are the contents of the script:


mysqldump -h localhost -u dreadhq_joomla -p'MYPASS' --single-transaction dreadhq_joomla > $(date +%Y-%m-%d)[url removed, login to view]

tar --exclude='public_html/store/*' --exclude='public_html/store' -czvf $(date +%Y-%m-%d)[url removed, login to view] public_html/.

The problem is that the store dir and it's contents are not excluded when I run the script.

I need you to use chrome remote desktop to access my machine (mac air) which will have command line access to the server where the backup is taking place. From there you can adjust the script as needed. Please note this is a production server so special care is required.

I'm looking for bids at or around $10 to provide me with a backup script that works properly on my server.

Thank you for your bid.

Beceriler: Linux

Daha fazlasını gör: u.p.s. store, the u.p.s. store, mac bash script, bash directory script, bash script directory, bash 0, remote help, linux bash script, bash script, access database note taking, database note taking, backup script bash, bash backup, script mac, command help, script run access sql, sql server command, tgz, access note taking database, remote access script, backup contents, air script, remote sql server backup, backup sql script, need run can provide script run

İşveren Hakkında:
( 88 değerlendirme ) Columbia, United States

Proje NO: #6510973



Dear Customer, this is Yaseen, and i am glad to work for you project, We specialise in Linux Windows Unix VirtualMin Cpanel and Asterisk. I have read the project description and i assure you 100% quality and timely res Daha Fazla

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(370 Değerlendirme)

7 freelancers are bidding on average $18 for this job


Hello, Try tar -czvf $(date +%Y-%m-%d)[url removed, login to view] --exclude='public_html/store/' public_html/

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(45 Değerlendirme)

Hi, i can help you. .

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(9 Değerlendirme)

In yout bash script. add GZIP=-9 time=`date "+%y.%m.%d.%H.%M.%S"` tar cvpf "/public_html/$[url removed, login to view]" --exclude="/public_html/store/" "/public_html/" > [url removed, login to view] gzip -9 "/public_html/$time Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(6 Değerlendirme)

Hi, I am aware of the issue you are having with the backup. It is an easy fix that I can fix right away. Regards

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(1 Yorum)

Hi, I'll be able to help you with your script. I'll also be able to provide you with the solution and script within the hour if you accept my proposal. Looking forward to doing business with you.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(2 Değerlendirme)

Hi, name is Suharyadi, i come from Indonesia. I have more than 6 years experience in computer hacking and security. I am Computer Hacking Forensic Investigator and Computer Security Analyst Certified (CHFI and ECSA). I Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)