cp: target `/mnt/sdb/folderbackup/apache/r' is not a directory
cp: target `/bkp/folder/apache/r' is not a directory
cp: target `/mnt/sdb/folderbackup/teamspeak/r' is not a directory
cp: target `/bkp/folder/teamspeak/r' is not a directory
cp: cannot create regular file `/bkp/files/php.inir': No such file or directory
cp: cannot create regular file `/bkp/files/httpd.confr': No such file or directory
cp: cannot create regular file `/bkp/files/httpd_vhosts.confr': No such file or directory
Mein Shellscript
Code: Select all
cp -Rf /srv/www/htdocs/* /mnt/sdb/folderbackup/apache/
cp -Rf /srv/www/htdocs/* /bkp/folder/apache/
cp -Rf /home/teamspeak/* /mnt/sdb/folderbackup/teamspeak/
cp -Rf /home/teamspeak/* /bkp/folder/teamspeak/
cp -Rf /usr/local/Zend/etc/php.ini /bkp/files/php.ini
cp -Rf /usr/local/Zend/etc/php.ini /mnt/sdb/files/php.ini
cp -Rf /etc/apache2/httpd.conf /bkp/files/httpd.conf
cp -Rf /etc/apache2/httpd.conf /mnt/sdb/files/httpd.conf
cp -Rf /etc/apache2/extra/httpd-vhosts.conf /bkp/files/httpd_vhosts.conf
cp -Rf /etc/apache2/extra/httpd-vhosts.conf /mnt/sdb/files/httpd_vhosts.conf
Danke.