Best Way to Sync a List of Specific Files and Directories

What would be the best command to sync(backup) a specific file and directory list.

/home/
/etc/php/7.1/fpm/php.ini
/etc/php/7.1/fpm/pool.d/www.conf
/etc/mysql/my.cnf
/usr/local/nginx/
/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/

I'd like to keep the same directory structure in my drive under a folder called server
So it'd be drive:server/etc/php/7.1/fpm/pool.d/www.conf etc.

I'd probably use files-from setup. You can see some examples here and just add that into a file.

https://rclone.org/filtering/#filter-from-read-filtering-patterns-from-a-file

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.