This is my Exclude list:
- $live$
- Cache/
- Cache.Trash/
- umix.log
- DSS_RMT.PID
- /PROCDUMP/
- /CDTemp/
- Recycled
- /TEMP/
- /SPOOL/
- /SWAPPER/
- System Volume Information
- rsync*.log
- clamd.log
- logfile.log*
- stunnel.log
- WP?ROOT.?SF
- WP?SHARE.?SF
- var/log/cups/
- /SYSDumps/
- *thumbnails/
- /WATCOM/binp/nmpbind.exe
- /bluegriffon/
- /Kompozer/
- /Seamonkey/
- /thunderbird/
- /TRASH/
- $RECYCLE.BIN
- TestAccts/
- /Download/RSyncCrash/updvbox.cmd
- chklgjfs*.log
- PSTAT.$$$
- webmonx.log
- /HOME/OpenOffice/4/user/extensions/shared/log.txt
- /HOME/OpenOffice/4/user/extensions/tmp/
- /MOZPROFILES/MOZILLA/Firefox/Profiles/wzf5p2q3.default-1485581936463/
- parent.lock
- socktidy.log
- CHKDSK.*
- volumes.cfg
- helpdesk/host/etc/passwd
- static.key
Most of it is just for my convenience, but none of it is actually required in a backup. You need to determine that, for yourself.
This is a typical command file to backup one local disk to another (USB) local disk:
ECHO --->RSYNC.LOG
ECHO Backup started>>RSYNC.LOG
ECHO ---/D:\>>RSYNC2.LOG
rsync.exe -a --stats --delete --log-file=RSYNC2.LOG --filter=._filters.list d:/ I:/main/DDrive/
ECHO ---/D: Done>>RSYNC2.LOG
ECHO ---/W:\>>RSYNC2.LOG
rsync.exe -aX --stats --delete --log-file=RSYNC2.LOG --filter=._filters.list w:/ I:/main/WDRIVE/
ECHO ---/W: Done>>RSYNC2.LOG
You do need to change this, to match your system. I: is the USB HDD (JFS). D: is a FAT32 drive, and W: is a JFS drive (my main programs and data drive). This basically just smart copies D:\* to I:\main\DDrive, and W:\* to I:\main\WDrive, leaving out what is listed in filters.list. You can make separate exclude, and include, lists, depending on what you are trying to do.
I normally shut down things like Firefox, PMMail, and OpenOffice, over night, and this runs at about 4 AM (I use the scheduler in DragText). Swapper.DAT and parent.lock are pretty obvious things to omit. Look through my list, above, for other ideas. I built the list by studying the logs, to see what it has trouble with, then I decide what to do about it. Most of the time, I just add them to the list. It is always a good idea to see if the affected program has a problem, by renaming the file, before you commit to leaving it out. Some of it is just stuff that isn't really needed, to cut down on the time, and storage room, that is required.
I have SWAPPER.DAT out on a ram disk
Just an observation about this. I have more than 2 GB in most of my systems. It has been YEARS, since I saw the swap file actually used. I usually just leave it as it was installed. Even my 1 GB machine, running ArcaOS, and used as a NAS device (with some extras), never uses the swap file. If your RAMDISK is in memory above about 3.5 GB, it doesn't matter. If it is below the 3.5 GB mark, you would be better off to have the swap file on a real disk, and use the memory as program memory.
mua.mtx must be something from the newer versions of PMMail, I don't see it on my old 2.20.2382 version so I can't help there.
mua.mtx is new, and it can be omitted.